Skip to content

Conversation

@TinaHeiligers
Copy link
Contributor

@TinaHeiligers TinaHeiligers commented Jan 28, 2021

Summary

Partially addresses #89321

tsc compiler performance with running node --max-old-space-size=4096 ./node_modules/.bin/tsc -p x-pack/tsconfig.json --extendedDiagnostics --noEmit

** Before
Files: 17376
Lines: 1870816

** After
Files: 16938
Lines: 1841894

@TinaHeiligers TinaHeiligers added chore v8.0.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// release_note:skip Skip the PR/issue when compiling release notes v7.12.0 labels Jan 28, 2021
@TinaHeiligers
Copy link
Contributor Author

@elasticmachine merge upstream

@TinaHeiligers TinaHeiligers marked this pull request as ready for review January 29, 2021 14:47
@TinaHeiligers TinaHeiligers requested a review from a team as a code owner January 29, 2021 14:47
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@TinaHeiligers TinaHeiligers force-pushed the ts-project-refs-es_ui/snapshot_restore branch from f0c923c to db413f2 Compare January 31, 2021 16:08
@kibanamachine
Copy link
Contributor

⏳ Build in-progress, with failures

Failed CI Steps

History

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

Copy link
Contributor

@sebelga sebelga left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @TinaHeiligers !

@TinaHeiligers
Copy link
Contributor Author

@elasticmachine merge upstream

@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/saved_objects_management/feature_controls/saved_objects_management_security·ts.Saved objects management feature controls saved objects management global saved object management read privileges listing shows all saved objects

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://github.com/elastic/kibana/issues/89953

[00:00:00]       │
[00:11:02]         └-: Saved objects management
[00:11:02]           └-> "before all" hook
[00:11:15]           └-: feature controls saved objects management
[00:11:15]             └-> "before all" hook
[00:11:15]             └-> "before all" hook
[00:11:15]               │ info [saved_objects_management/feature_controls/security] Loading "mappings.json"
[00:11:15]               │ info [saved_objects_management/feature_controls/security] Loading "data.json"
[00:11:15]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana_8.0.0_001/g3ieOHbhRquaJnEYFjZneQ] deleting index
[00:11:15]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana_pre6.5.0_001/YjeRllGeQQOdtNKT9CwKuQ] deleting index
[00:11:15]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana_task_manager_8.0.0_001/3y7ShnlaQMCmyOOTVGvy1Q] deleting index
[00:11:15]               │ info [saved_objects_management/feature_controls/security] Deleted existing index [".kibana_8.0.0_001",".kibana_task_manager_8.0.0_001",".kibana_pre6.5.0_001"]
[00:11:15]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana] creating index, cause [api], templates [], shards [1]/[0]
[00:11:15]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]])." previous.health="YELLOW" reason="shards started [[.kibana][0]]"
[00:11:15]               │ info [saved_objects_management/feature_controls/security] Created index ".kibana"
[00:11:15]               │ debg [saved_objects_management/feature_controls/security] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:11:15]               │ info [saved_objects_management/feature_controls/security] Indexed 4 docs into ".kibana"
[00:11:15]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana/ucQKiDGYS3ijTp-p4E5nFA] update_mapping [_doc]
[00:11:15]               │ debg Migrating saved objects
[00:11:15]               │ proc [kibana]   log   [00:40:12.080] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:11:15]               │ proc [kibana]   log   [00:40:12.085] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:11:15]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:11:15]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:11:15]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] adding block write to indices [[.kibana/ucQKiDGYS3ijTp-p4E5nFA]]
[00:11:15]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_task_manager_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_task_manager_8.0.0_001][0]]"
[00:11:15]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] completed adding block write to indices [.kibana]
[00:11:15]               │ proc [kibana]   log   [00:40:12.142] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY
[00:11:15]               │ proc [kibana]   log   [00:40:12.157] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:11:15]               │ proc [kibana]   log   [00:40:12.173] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE
[00:11:15]               │ proc [kibana]   log   [00:40:12.174] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 96ms
[00:11:15]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:11:15]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:11:15]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_pre6.5.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_pre6.5.0_001][0]]"
[00:11:15]               │ proc [kibana]   log   [00:40:12.223] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:11:15]               │ proc [kibana]   log   [00:40:12.233] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:11:15]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] 21517 finished with response BulkByScrollResponse[took=16.6ms,timed_out=false,sliceId=null,updated=0,created=4,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:11:15]               │ proc [kibana]   log   [00:40:12.339] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:11:15]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana/ucQKiDGYS3ijTp-p4E5nFA] deleting index
[00:11:15]               │ proc [kibana]   log   [00:40:12.371] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:11:15]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] adding block write to indices [[.kibana_pre6.5.0_001/XTNFaMODRAuAQbA8qeqwSg]]
[00:11:15]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:11:15]               │ proc [kibana]   log   [00:40:12.402] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:11:15]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:11:15]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:11:15]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_reindex_temp][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_reindex_temp][0]]"
[00:11:15]               │ proc [kibana]   log   [00:40:12.446] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:11:15]               │ proc [kibana]   log   [00:40:12.451] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:11:15]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana_8.0.0_reindex_temp/hTI6mEhsRpmIxI8CbCvJTg] update_mapping [_doc]
[00:11:15]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] 21557 finished with response BulkByScrollResponse[took=33.1ms,timed_out=false,sliceId=null,updated=0,created=4,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:11:15]               │ proc [kibana]   log   [00:40:12.556] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:11:15]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] adding block write to indices [[.kibana_8.0.0_reindex_temp/hTI6mEhsRpmIxI8CbCvJTg]]
[00:11:15]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:11:15]               │ proc [kibana]   log   [00:40:12.587] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:11:15]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:11:15]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:11:15]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:11:15]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana_8.0.0_001/fFzt4LStRYePWgqrYk0wsQ] create_mapping
[00:11:15]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_001][0]]"
[00:11:15]               │ proc [kibana]   log   [00:40:12.675] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:11:15]               │ proc [kibana]   log   [00:40:12.683] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM
[00:11:15]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana_8.0.0_001/fFzt4LStRYePWgqrYk0wsQ] update_mapping [_doc]
[00:11:15]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana_8.0.0_001/fFzt4LStRYePWgqrYk0wsQ] update_mapping [_doc]
[00:11:15]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana_8.0.0_001/fFzt4LStRYePWgqrYk0wsQ] update_mapping [_doc]
[00:11:16]               │ proc [kibana]   log   [00:40:13.620] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> OUTDATED_DOCUMENTS_SEARCH
[00:11:16]               │ proc [kibana]   log   [00:40:13.626] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:11:16]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana_8.0.0_001/fFzt4LStRYePWgqrYk0wsQ] update_mapping [_doc]
[00:11:16]               │ proc [kibana]   log   [00:40:13.679] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:11:16]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] 21629 finished with response BulkByScrollResponse[took=17.7ms,timed_out=false,sliceId=null,updated=4,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:11:17]               │ proc [kibana]   log   [00:40:13.785] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:11:17]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] [.kibana_8.0.0_reindex_temp/hTI6mEhsRpmIxI8CbCvJTg] deleting index
[00:11:17]               │ proc [kibana]   log   [00:40:13.819] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:11:17]               │ proc [kibana]   log   [00:40:13.819] [info][savedobjects-service] [.kibana] Migration completed after 1742ms
[00:11:17]               │ debg [saved_objects_management/feature_controls/security] Migrated Kibana index after loading Kibana data
[00:11:17]               │ debg [saved_objects_management/feature_controls/security] Ensured that default space exists in .kibana
[00:11:17]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:11:47]             └-: global saved object management read privileges
[00:11:47]               └-> "before all" hook
[00:11:47]               └-> "before all" hook
[00:11:47]                 │ debg creating role global_som_read_role
[00:11:47]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] added role [global_som_read_role]
[00:11:47]                 │ debg creating user global_som_read_user
[00:11:47]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612223822076669944] added user [global_som_read_user]
[00:11:47]                 │ debg created user global_som_read_user
[00:11:47]                 │ debg SecurityPage.forceLogout
[00:11:47]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:11:47]                 │ debg Already on the login page, not forcing anything
[00:11:47]                 │ debg TestSubjects.exists(loginForm)
[00:11:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:11:48]                 │ debg Waiting for Login Form to appear.
[00:11:48]                 │ debg Waiting up to 100000ms for login form...
[00:11:48]                 │ debg TestSubjects.exists(loginForm)
[00:11:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:11:48]                 │ debg TestSubjects.setValue(loginUsername, global_som_read_user)
[00:11:48]                 │ debg TestSubjects.click(loginUsername)
[00:11:48]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:11:48]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:11:48]                 │ debg TestSubjects.setValue(loginPassword, global_som_read_user-password)
[00:11:48]                 │ debg TestSubjects.click(loginPassword)
[00:11:48]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:11:48]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:11:48]                 │ debg TestSubjects.click(loginSubmit)
[00:11:48]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:11:48]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:11:48]                 │ debg Waiting for login result, expected: undefined.
[00:11:48]                 │ debg Waiting up to 20000ms for logout button visible...
[00:11:48]                 │ debg TestSubjects.exists(userMenuButton)
[00:11:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:11:48]                 │ proc [kibana]   log   [00:40:45.261] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:11:51]                 │ debg browser[INFO] http://localhost:61121/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:11:51]                 │
[00:11:51]                 │ debg browser[INFO] http://localhost:61121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:51]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:11:52]                 │ debg TestSubjects.exists(userMenuButton)
[00:11:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:11:52]                 │ debg TestSubjects.exists(userMenu)
[00:11:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:11:54]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:11:55]                 │ debg TestSubjects.click(userMenuButton)
[00:11:55]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:11:55]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:11:55]                 │ debg TestSubjects.exists(userMenu)
[00:11:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:11:55]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:11:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:11:55]               └-: listing
[00:11:55]                 └-> "before all" hook
[00:11:55]                 └-> "before all" hook
[00:11:55]                   │ debg navigating to settings url: http://localhost:61121/app/management
[00:11:55]                   │ debg navigate to: http://localhost:61121/app/management
[00:11:55]                   │ debg browser[INFO] http://localhost:61121/app/management?_t=1612226452039 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:11:55]                   │
[00:11:55]                   │ debg browser[INFO] http://localhost:61121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:55]                   │ debg ... sleep(700) start
[00:11:56]                   │ debg ... sleep(700) end
[00:11:56]                   │ debg returned from get, calling refresh
[00:11:56]                   │ debg browser[INFO] http://localhost:61121/app/management?_t=1612226452039 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:11:56]                   │
[00:11:56]                   │ debg browser[INFO] http://localhost:61121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:56]                   │ debg currentUrl = http://localhost:61121/app/management
[00:11:56]                   │          appUrl = http://localhost:61121/app/management
[00:11:56]                   │ debg TestSubjects.find(kibanaChrome)
[00:11:56]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:11:57]                   │ debg ... sleep(501) start
[00:11:57]                   │ debg ... sleep(501) end
[00:11:57]                   │ debg in navigateTo url = http://localhost:61121/app/management
[00:11:57]                   │ debg TestSubjects.exists(statusPageContainer)
[00:11:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:12:00]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:12:00]                   │ debg TestSubjects.click(objects)
[00:12:00]                   │ debg Find.clickByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:12:00]                   │ debg Find.findByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:12:00]                   │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:01]                   │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:12:01]                   │        (Session info: headless chrome=88.0.4324.96)
[00:12:05]                 └-> shows all saved objects
[00:12:05]                   └-> "before each" hook: global before each
[00:12:05]                   │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:09]                   │ debg TestSubjects.find(savedObjectsTable)
[00:12:09]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:12:09]                   │ info Taking screenshot "/dev/shm/workspace/parallel/12/kibana/x-pack/test/functional/screenshots/failure/Saved objects management feature controls saved objects management global saved object management read privileges listing shows all saved objects.png"
[00:12:09]                   │ info Current URL is: http://localhost:61121/app/management/kibana/objects
[00:12:09]                   │ info Saving page source to: /dev/shm/workspace/parallel/12/kibana/x-pack/test/functional/failure_debug/html/Saved objects management feature controls saved objects management global saved object management read privileges listing shows all saved objects.html
[00:12:09]                   └- ✖ fail: Saved objects management feature controls saved objects management global saved object management read privileges listing shows all saved objects
[00:12:09]                   │       Error: expected [ 'Advanced Settings [8.0.0-SNAPSHOT]',
[00:12:09]                   │   'Advanced Settings [6.0.0]',
[00:12:09]                   │   'A Dashboard',
[00:12:09]                   │   'logstash-*',
[00:12:09]                   │   'A Pie' ] to sort of equal [ 'Advanced Settings [6.0.0]',
[00:12:09]                   │   'Advanced Settings [8.0.0-SNAPSHOT]',
[00:12:09]                   │   'A Dashboard',
[00:12:09]                   │   'logstash-*',
[00:12:09]                   │   'A Pie' ]
[00:12:09]                   │       + expected - actual
[00:12:09]                   │ 
[00:12:09]                   │        [
[00:12:09]                   │       +  "Advanced Settings [6.0.0]"
[00:12:09]                   │          "Advanced Settings [8.0.0-SNAPSHOT]"
[00:12:09]                   │       -  "Advanced Settings [6.0.0]"
[00:12:09]                   │          "A Dashboard"
[00:12:09]                   │          "logstash-*"
[00:12:09]                   │          "A Pie"
[00:12:09]                   │        ]
[00:12:09]                   │       
[00:12:09]                   │       at Assertion.assert (/dev/shm/workspace/parallel/12/kibana/packages/kbn-expect/expect.js:100:11)
[00:12:09]                   │       at Assertion.eql (/dev/shm/workspace/parallel/12/kibana/packages/kbn-expect/expect.js:244:8)
[00:12:09]                   │       at Context.<anonymous> (test/functional/apps/saved_objects_management/feature_controls/saved_objects_management_security.ts:189:30)
[00:12:09]                   │       at runMicrotasks (<anonymous>)
[00:12:09]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:12:09]                   │       at Object.apply (/dev/shm/workspace/parallel/12/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:12:09]                   │ 
[00:12:09]                   │ 

Stack Trace

Error: expected [ 'Advanced Settings [8.0.0-SNAPSHOT]',
  'Advanced Settings [6.0.0]',
  'A Dashboard',
  'logstash-*',
  'A Pie' ] to sort of equal [ 'Advanced Settings [6.0.0]',
  'Advanced Settings [8.0.0-SNAPSHOT]',
  'A Dashboard',
  'logstash-*',
  'A Pie' ]
    at Assertion.assert (/dev/shm/workspace/parallel/12/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/12/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/saved_objects_management/feature_controls/saved_objects_management_security.ts:189:30)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Object.apply (/dev/shm/workspace/parallel/12/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16) {
  actual: '[\n' +
    '  "Advanced Settings [8.0.0-SNAPSHOT]"\n' +
    '  "Advanced Settings [6.0.0]"\n' +
    '  "A Dashboard"\n' +
    '  "logstash-*"\n' +
    '  "A Pie"\n' +
    ']',
  expected: '[\n' +
    '  "Advanced Settings [6.0.0]"\n' +
    '  "Advanced Settings [8.0.0-SNAPSHOT]"\n' +
    '  "A Dashboard"\n' +
    '  "logstash-*"\n' +
    '  "A Pie"\n' +
    ']',
  showDiff: true
}

Metrics [docs]

✅ unchanged

History

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

@TinaHeiligers TinaHeiligers merged commit 09c2ee7 into elastic:master Feb 2, 2021
@TinaHeiligers TinaHeiligers deleted the ts-project-refs-es_ui/snapshot_restore branch February 2, 2021 01:57
TinaHeiligers 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)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// v7.12.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants