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

Enable v2 so migrations, disable in FTR tests #89297

Merged
merged 3 commits into from
Jan 27, 2021

Conversation

rudolf
Copy link
Contributor

@rudolf rudolf commented Jan 26, 2021

Summary

Enables the new migration algorithm by default, but keeps it disabled for tests. Enabling v2 migrations for tests will be done in #85778

Closes #68913
Closes #52569

Partially fixes #32237

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@rudolf rudolf marked this pull request as ready for review January 26, 2021 16:18
@rudolf rudolf requested a review from a team as a code owner January 26, 2021 16:18
@rudolf rudolf added v8.0.0 project:ResilientSavedObjectMigrations Reduce Kibana upgrade failures by making saved object migrations more resilient Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc labels Jan 26, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@rudolf rudolf added release_note:skip Skip the PR/issue when compiling release notes and removed release_note:breaking labels Jan 26, 2021
Copy link
Contributor

@pgayvallet pgayvallet left a comment

Choose a reason for hiding this comment

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

Enables the new migration algorithm by default, but keeps it disabled for tests. Enabling v2 migrations for tests will be done in #85778

I need to ask, so: are we sure we want to merge this before FTR tests have also been migrated to SOmigV2?

Comment on lines 20 to +21
// TODO migrationsV2: remove/deprecate once we release migrations v2
enableV2: schema.boolean({ defaultValue: false }),
enableV2: schema.boolean({ defaultValue: true }),
Copy link
Contributor

Choose a reason for hiding this comment

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

Should the comment be updated?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll deprecate the setting in https://github.com/elastic/kibana/pull/85778/files when we know all tests pass with the new migration.

@rudolf
Copy link
Contributor Author

rudolf commented Jan 27, 2021

I need to ask, so: are we sure we want to merge this before FTR tests have also been migrated to SOmigV2?

I think we're basically taking on some short term tech debt that we will pay down in the next two weeks at most. The advantage is it makes it easier for QA to test with snapshot builds and we have some additional time for any bugs that could surface from developers using it day-to-day. It's also much easier to communicate with other teams when this will go into master if it's a tiny PR vs the FTR PR that's likely to ping many Kibana teams for approvals and might have a long review cycle.

The risk is that we can't get FTR tests to work with the new algorithm before the release, in such a case we would have to revert the default which would be fairly easy to do.

@rudolf rudolf merged commit c8afae8 into elastic:master Jan 27, 2021
@rudolf rudolf deleted the enable-v2-migrations branch January 27, 2021 11:13
jloleysens added a commit to jloleysens/kibana that referenced this pull request Jan 27, 2021
…y-tests

* 'master' of github.com:elastic/kibana: (276 commits)
  [Telemetry] Settings Collector: redact sensitive reported values (elastic#88675)
  [CI] Combines Jest test jobs (elastic#85850)
  [Upgrade Assistant] Migrate server to new es-js client (elastic#89207)
  Migrate maps_legacy, maps_oss, region_map, and tile_map plugions to TS projects (elastic#89351)
  [Vega Docs] Add experimental flag on the vega maps title (elastic#89402)
  Increase the time needed to locate the save viz toast (elastic#89301)
  [Enterprise Search] Add links to doc links service (elastic#89260)
  Fixed regex bug in Safari (elastic#89399)
  [Lens] Fix indexpattern checks for missing references (elastic#88840)
  [Lens] Clean up usage collector (elastic#89109)
  update apm index pattern (elastic#89395)
  [APM] Upgrade ES client (elastic#86594)
  Enable v2 so migrations, disable in FTR tests (elastic#89297)
  [Search Sessions] Make search session indicator UI opt-in, refactor per-app capabilities (elastic#88699)
  Cleanup OSS code from visualizations wizard (elastic#89092)
  [APM] Optimize API test order (elastic#88654)
  Rename conversion function, extract to module scope and add tests. (elastic#89018)
  [core.logging] Add ops logs to the KP logging system (elastic#88070)
  chore(NA): improve ts build refs performance on kbn bootstrap (elastic#89333)
  skip flaky suite (elastic#89379)
  ...

# Conflicts:
#	x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.tsx
#	x-pack/test/accessibility/config.ts
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jan 27, 2021
…ana into task-manager/shift-on-trend

* 'task-manager/shift-on-trend' of github.com:gmmorris/kibana: (74 commits)
  [Metrics UI] Fix Host Overview boxes in Host Detail page (elastic#89299)
  [Telemetry] Settings Collector: redact sensitive reported values (elastic#88675)
  [CI] Combines Jest test jobs (elastic#85850)
  [Upgrade Assistant] Migrate server to new es-js client (elastic#89207)
  Migrate maps_legacy, maps_oss, region_map, and tile_map plugions to TS projects (elastic#89351)
  [Vega Docs] Add experimental flag on the vega maps title (elastic#89402)
  Increase the time needed to locate the save viz toast (elastic#89301)
  [Enterprise Search] Add links to doc links service (elastic#89260)
  Fixed regex bug in Safari (elastic#89399)
  [Lens] Fix indexpattern checks for missing references (elastic#88840)
  [Lens] Clean up usage collector (elastic#89109)
  update apm index pattern (elastic#89395)
  [APM] Upgrade ES client (elastic#86594)
  Enable v2 so migrations, disable in FTR tests (elastic#89297)
  [Search Sessions] Make search session indicator UI opt-in, refactor per-app capabilities (elastic#88699)
  Cleanup OSS code from visualizations wizard (elastic#89092)
  [APM] Optimize API test order (elastic#88654)
  Rename conversion function, extract to module scope and add tests. (elastic#89018)
  [core.logging] Add ops logs to the KP logging system (elastic#88070)
  chore(NA): improve ts build refs performance on kbn bootstrap (elastic#89333)
  ...
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jan 29, 2021
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 89297 or prevent reminders by adding the backport:skip label.

1 similar comment
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 89297 or prevent reminders by adding the backport:skip label.

@rudolf rudolf added the v7.12.0 label Feb 1, 2021
rudolf added a commit to rudolf/kibana that referenced this pull request Feb 1, 2021
* Enable v2 so migrations, disable in FTR tests

* Disable v2 migrations for ui_settings integration tests

* Disable v2 migrations for reporting without serucity api integration test
# Conflicts:
#	test/common/config.js
spalger added a commit that referenced this pull request Feb 2, 2021
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Feb 2, 2021
@spalger spalger removed the reverted label Feb 2, 2021
spalger added a commit that referenced this pull request Feb 2, 2021
gmmorris added a commit to lizozom/kibana that referenced this pull request Feb 2, 2021
…om/kibana into pr/89570

* 'sessions/save-all-sessions' of https://github.com/lizozom/kibana: (44 commits)
  [ML] Functional tests - skip DFA clone tests
  [Uptime] Fix synthetics detail step count (elastic#89940)
  Fixes the permissions to require cluster.manage in order to create an index and in order to update an index (elastic#89947)
  [Security Solution] [Detections] adds log info level for logging in cloud (elastic#89941)
  [Time to Visualize] Dashboard By Value Testing Lens (elastic#89581)
  [Uptime] Expand synthetic journey step thumbnail on hover (elastic#89179)
  TS project refs: Migrates snapshot_restore to a TS Project (elastic#89653)
  docs: APM 7.11 updates (elastic#89789)
  move skip to higher level (elastic#86952)
  Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (elastic#85778)"
  Revert "Revert "Enable v2 so migrations, disable in FTR tests (elastic#89297)""
  Revert "Enable v2 so migrations, disable in FTR tests (elastic#89297)"
  [data.search] Allow search response to follow new hits format (elastic#88115)
  [Maps] Change 'create multi-layer map' title to be use-case focused (elastic#89520)
  skip flaky suite (elastic#86952)
  [Security Solution] Remove focustrap (elastic#89905)
  [Workplace Search] Add remaining i18n support for the Content Sources tree (elastic#89910)
  [esArchiver] log when migrations complete and we're done loading data (elastic#89938)
  Add --ssl flag to make resolver generator use ssl with kbn and elasticsearch clients (elastic#89873)
  TS project refs: Migrates grokdebugger (elastic#89652)
  ...
rudolf added a commit that referenced this pull request Feb 9, 2021
* Enable v2 so migrations, disable in FTR tests (#89297)

* Enable v2 so migrations, disable in FTR tests

* Disable v2 migrations for ui_settings integration tests

* Disable v2 migrations for reporting without serucity api integration test
# Conflicts:
#	test/common/config.js

* migrations v2: fix snapshot builds (#89541)

* migrations v2: fix snapshot builds

* Revert "Fix sharing saved objects phase 2 CI (#89056)"

This reverts commit 8263d47.

* Fix documentMigrator for snapshot releases (#89936)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

kibanamachine commented Feb 15, 2021

💔 Build Failed

Failed CI Steps


Test Failures

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

Link to Jenkins

Standard Out

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

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

Stack Trace

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

X-Pack Detection Engine API Integration Tests.x-pack/test/detection_engine_api_integration/security_and_spaces/tests/delete_signals_migrations·ts.detection engine api security and spaces enabled deleting signals migrations rejects the request if the user does not have sufficient privileges

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: detection engine api security and spaces enabled
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: 
[00:00:00]             └-> "before all" hook
[00:17:06]             └-: deleting signals migrations
[00:17:06]               └-> "before all" hook
[00:17:06]               └-> returns the deleted migration SavedObjects
[00:17:06]                 └-> "before each" hook: global before each
[00:17:06]                 └-> "before each" hook
[00:17:06]                   │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] adding index lifecycle policy [.siem-signals-default]
[00:17:06]                   │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] adding template [.siem-signals-default] for index patterns [.siem-signals-default-*]
[00:17:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-000001] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:17:06]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:17:06]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.siem-signals-default]
[00:17:06]                   │ info [signals/outdated_signals_index] Loading "mappings.json"
[00:17:06]                   │ info [signals/outdated_signals_index] Loading "data.json"
[00:17:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-outdated] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:17:06]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.siem-signals-default]
[00:17:06]                   │ info [signals/outdated_signals_index] Created index ".siem-signals-default-outdated"
[00:17:06]                   │ debg [signals/outdated_signals_index] ".siem-signals-default-outdated" settings {"index":{"lifecycle":{"indexing_complete":true}}}
[00:17:06]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:17:06]                   │ info [signals/outdated_signals_index] Indexed 1 docs into ".siem-signals-default-outdated"
[00:17:06]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.siem-signals-default]
[00:17:06]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.siem-signals-default]
[00:17:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-outdated-r000014] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:17:07]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated-r000014] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:17:07]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated-r000014] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.siem-signals-default]
[00:17:07]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated-r000014] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.siem-signals-default]
[00:17:07]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] 206834 finished with response BulkByScrollResponse[took=12.6ms,timed_out=false,sliceId=null,updated=0,created=1,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:17:09]                 └- ✓ pass  (1.0s) "detection engine api security and spaces enabled  deleting signals migrations returns the deleted migration SavedObjects"
[00:17:09]               └-> "after each" hook
[00:17:09]                 │ info [signals/outdated_signals_index] Unloading indices from "mappings.json"
[00:17:09]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-outdated/seRarynvRYC5W4B4bsegiw] deleting index
[00:17:09]                 │ info [signals/outdated_signals_index] Deleted existing index ".siem-signals-default-outdated"
[00:17:09]                 │ info [signals/outdated_signals_index] Unloading indices from "data.json"
[00:17:09]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-outdated-r000014/ZVQnNyFWRH2JFQdmwBmd2g] deleting index
[00:17:09]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-000001/0YekHIJ6RXK5l56Bn7c02A] deleting index
[00:17:10]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] removing template [.siem-signals-default]
[00:17:10]               └-> marks the original index for deletion by applying our cleanup policy
[00:17:10]                 └-> "before each" hook: global before each
[00:17:10]                 └-> "before each" hook
[00:17:10]                   │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] adding index lifecycle policy [.siem-signals-default]
[00:17:10]                   │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] adding template [.siem-signals-default] for index patterns [.siem-signals-default-*]
[00:17:10]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-000001] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:17:10]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:17:10]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.siem-signals-default]
[00:17:10]                   │ info [signals/outdated_signals_index] Loading "mappings.json"
[00:17:10]                   │ info [signals/outdated_signals_index] Loading "data.json"
[00:17:10]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-outdated] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:17:10]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.siem-signals-default]
[00:17:10]                   │ info [signals/outdated_signals_index] Created index ".siem-signals-default-outdated"
[00:17:10]                   │ debg [signals/outdated_signals_index] ".siem-signals-default-outdated" settings {"index":{"lifecycle":{"indexing_complete":true}}}
[00:17:10]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:17:10]                   │ info [signals/outdated_signals_index] Indexed 1 docs into ".siem-signals-default-outdated"
[00:17:10]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.siem-signals-default]
[00:17:10]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.siem-signals-default]
[00:17:10]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-outdated-r000014] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:17:10]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated-r000014] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:17:10]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated-r000014] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.siem-signals-default]
[00:17:10]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] 207050 finished with response BulkByScrollResponse[took=8.8ms,timed_out=false,sliceId=null,updated=0,created=1,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:17:10]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated-r000014] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.siem-signals-default]
[00:17:12]                 └- ✓ pass  (1.0s) "detection engine api security and spaces enabled  deleting signals migrations marks the original index for deletion by applying our cleanup policy"
[00:17:12]               └-> "after each" hook
[00:17:12]                 │ info [signals/outdated_signals_index] Unloading indices from "mappings.json"
[00:17:12]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-outdated/ZOL6ESbeSuaiuQvmA6oBMw] deleting index
[00:17:13]                 │ info [signals/outdated_signals_index] Deleted existing index ".siem-signals-default-outdated"
[00:17:13]                 │ info [signals/outdated_signals_index] Unloading indices from "data.json"
[00:17:13]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-000001/JpEwTjTaQC21YoFbQrJ7aQ] deleting index
[00:17:13]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-outdated-r000014/JvPVFWcAQnm7tOl5fgbX1w] deleting index
[00:17:13]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] removing template [.siem-signals-default]
[00:17:13]               └-> rejects the request if the user does not have sufficient privileges
[00:17:13]                 └-> "before each" hook: global before each
[00:17:13]                 └-> "before each" hook
[00:17:13]                   │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] adding index lifecycle policy [.siem-signals-default]
[00:17:13]                   │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] adding template [.siem-signals-default] for index patterns [.siem-signals-default-*]
[00:17:13]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-000001] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:17:13]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:17:13]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.siem-signals-default]
[00:17:13]                   │ info [signals/outdated_signals_index] Loading "mappings.json"
[00:17:13]                   │ info [signals/outdated_signals_index] Loading "data.json"
[00:17:13]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-outdated] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:17:13]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.siem-signals-default]
[00:17:13]                   │ info [signals/outdated_signals_index] Created index ".siem-signals-default-outdated"
[00:17:13]                   │ debg [signals/outdated_signals_index] ".siem-signals-default-outdated" settings {"index":{"lifecycle":{"indexing_complete":true}}}
[00:17:13]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:17:13]                   │ info [signals/outdated_signals_index] Indexed 1 docs into ".siem-signals-default-outdated"
[00:17:13]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.siem-signals-default]
[00:17:13]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.siem-signals-default]
[00:17:13]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] [.siem-signals-default-outdated-r000014] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:17:13]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated-r000014] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:17:13]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated-r000014] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.siem-signals-default]
[00:17:13]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] 207241 finished with response BulkByScrollResponse[took=9.8ms,timed_out=false,sliceId=null,updated=0,created=1,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:17:13]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] moving index [.siem-signals-default-outdated-r000014] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.siem-signals-default]
[00:17:14]                 │ debg creating role t1_analyst
[00:17:15]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] updated role [t1_analyst]
[00:17:15]                 │ debg creating user t1_analyst
[00:17:15]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1613407680157286414] updated user [t1_analyst]
[00:17:15]                 │ debg created user t1_analyst
[00:17:15]                 └- ✖ fail: detection engine api security and spaces enabled  deleting signals migrations rejects the request if the user does not have sufficient privileges
[00:17:15]                 │       Error: expected { message: 'security_exception: action [indices:admin/settings/update] is unauthorized for user [t1_analyst] on indices [], this action is granted by the index privileges [manage,all]',
[00:17:15]                 │   status_code: 403 } to sort of equal { message: 'security_exception: action [indices:admin/settings/update] is unauthorized for user [t1_analyst] on indices [], this action is granted by the privileges [manage,all]',
[00:17:15]                 │   status_code: 403 }
[00:17:15]                 │       + expected - actual
[00:17:15]                 │ 
[00:17:15]                 │        {
[00:17:15]                 │       -  "message": "security_exception: action [indices:admin/settings/update] is unauthorized for user [t1_analyst] on indices [], this action is granted by the index privileges [manage,all]"
[00:17:15]                 │       +  "message": "security_exception: action [indices:admin/settings/update] is unauthorized for user [t1_analyst] on indices [], this action is granted by the privileges [manage,all]"
[00:17:15]                 │          "status_code": 403
[00:17:15]                 │        }
[00:17:15]                 │       
[00:17:15]                 │       at Assertion.assert (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:100:11)
[00:17:15]                 │       at Assertion.eql (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:244:8)
[00:17:15]                 │       at Context.<anonymous> (test/detection_engine_api_integration/security_and_spaces/tests/delete_signals_migrations.ts:118:41)
[00:17:15]                 │       at Object.apply (/dev/shm/workspace/parallel/8/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:17:15]                 │ 
[00:17:15]                 │ 

Stack Trace

Error: expected { message: 'security_exception: action [indices:admin/settings/update] is unauthorized for user [t1_analyst] on indices [], this action is granted by the index privileges [manage,all]',
  status_code: 403 } to sort of equal { message: 'security_exception: action [indices:admin/settings/update] is unauthorized for user [t1_analyst] on indices [], this action is granted by the privileges [manage,all]',
  status_code: 403 }
    at Assertion.assert (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/8/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/detection_engine_api_integration/security_and_spaces/tests/delete_signals_migrations.ts:118:41)
    at Object.apply (/dev/shm/workspace/parallel/8/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16) {
  actual: '{\n' +
    '  "message": "security_exception: action [indices:admin/settings/update] is unauthorized for user [t1_analyst] on indices [], this action is granted by the index privileges [manage,all]"\n' +
    '  "status_code": 403\n' +
    '}',
  expected: '{\n' +
    '  "message": "security_exception: action [indices:admin/settings/update] is unauthorized for user [t1_analyst] on indices [], this action is granted by the privileges [manage,all]"\n' +
    '  "status_code": 403\n' +
    '}',
  showDiff: true
}

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

Link to Jenkins

Standard Out

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

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

Stack Trace

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

and 3 more failures, only showing the first 3.

Metrics [docs]

✅ unchanged

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project:ResilientSavedObjectMigrations Reduce Kibana upgrade failures by making saved object migrations more resilient release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.12.0 v8.0.0
Projects
None yet
6 participants