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

TS project refs: Migrates grokdebugger #89652

Merged

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: 17157
Lines: 1868507

** After
Files: 17147
Lines: 1868302

@TinaHeiligers TinaHeiligers added chore v8.0.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more release_note:skip Skip the PR/issue when compiling release notes v7.12.0 labels Jan 28, 2021
@TinaHeiligers TinaHeiligers changed the title Adds es_ui_shared to tsconfig TS project refs: Migrates grokdebugger Jan 28, 2021
@TinaHeiligers
Copy link
Contributor Author

@elasticmachine merge upstream

@TinaHeiligers
Copy link
Contributor Author

@elasticmachine merge upstream

@TinaHeiligers
Copy link
Contributor Author

@elasticmachine merge upstream

@TinaHeiligers TinaHeiligers force-pushed the ts-project-refs-es_ui/grokdebugger branch from 8a1fb15 to 3872e8b Compare January 29, 2021 19:25
@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

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

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

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 !

@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 not failed recently on tracked branches

[00:00:00]       │
[00:11:43]         └-: Saved objects management
[00:11:43]           └-> "before all" hook
[00:11:57]           └-: feature controls saved objects management
[00:11:57]             └-> "before all" hook
[00:11:57]             └-> "before all" hook
[00:11:57]               │ info [saved_objects_management/feature_controls/security] Loading "mappings.json"
[00:11:57]               │ info [saved_objects_management/feature_controls/security] Loading "data.json"
[00:11:57]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana_task_manager_8.0.0_001/xyHw6mvKSK2vf9gJKUkAYA] deleting index
[00:11:57]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana_8.0.0_001/avaFT8JyRZaXlxOGAvJ8XA] deleting index
[00:11:57]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana_pre6.5.0_001/6JStVAAURaKYZa6F2q69eA] deleting index
[00:11:57]               │ 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:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana] creating index, cause [api], templates [], shards [1]/[0]
[00:11:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] 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:57]               │ info [saved_objects_management/feature_controls/security] Created index ".kibana"
[00:11:57]               │ 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:57]               │ info [saved_objects_management/feature_controls/security] Indexed 4 docs into ".kibana"
[00:11:57]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana/jJJG4NRnSeaGF4Fb6ZAEeg] update_mapping [_doc]
[00:11:57]               │ debg Migrating saved objects
[00:11:57]               │ proc [kibana]   log   [20:33:01.456] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:11:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:11:57]               │ proc [kibana]   log   [20:33:01.464] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:11:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:11:57]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] adding block write to indices [[.kibana/jJJG4NRnSeaGF4Fb6ZAEeg]]
[00:11:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] 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:57]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] completed adding block write to indices [.kibana]
[00:11:57]               │ proc [kibana]   log   [20:33:01.525] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY
[00:11:57]               │ proc [kibana]   log   [20:33:01.545] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:11:57]               │ proc [kibana]   log   [20:33:01.562] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE
[00:11:57]               │ proc [kibana]   log   [20:33:01.562] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 109ms
[00:11:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:11:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:11:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] 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:57]               │ proc [kibana]   log   [20:33:01.615] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:11:57]               │ proc [kibana]   log   [20:33:01.625] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:11:57]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] 21500 finished with response BulkByScrollResponse[took=21.5ms,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:57]               │ proc [kibana]   log   [20:33:01.732] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:11:57]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana/jJJG4NRnSeaGF4Fb6ZAEeg] deleting index
[00:11:57]               │ proc [kibana]   log   [20:33:01.767] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:11:57]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] adding block write to indices [[.kibana_pre6.5.0_001/QgEeTySISiu2pFpKHa75sA]]
[00:11:57]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:11:57]               │ proc [kibana]   log   [20:33:01.803] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:11:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:11:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:11:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] 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:57]               │ proc [kibana]   log   [20:33:01.860] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:11:57]               │ proc [kibana]   log   [20:33:01.869] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:11:57]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana_8.0.0_reindex_temp/UmZSVja8TsSxna-Rtn3lIg] update_mapping [_doc]
[00:11:57]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] 21539 finished with response BulkByScrollResponse[took=40.3ms,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:57]               │ proc [kibana]   log   [20:33:01.976] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:11:57]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] adding block write to indices [[.kibana_8.0.0_reindex_temp/UmZSVja8TsSxna-Rtn3lIg]]
[00:11:57]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:11:57]               │ proc [kibana]   log   [20:33:02.007] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:11:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:11:57]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:11:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:11:57]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana_8.0.0_001/qkBZkHLASPmESyCmuI-f6A] create_mapping
[00:11:57]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] 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:57]               │ proc [kibana]   log   [20:33:02.099] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:11:57]               │ proc [kibana]   log   [20:33:02.111] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM
[00:11:57]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana_8.0.0_001/qkBZkHLASPmESyCmuI-f6A] update_mapping [_doc]
[00:11:57]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana_8.0.0_001/qkBZkHLASPmESyCmuI-f6A] update_mapping [_doc]
[00:11:58]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana_8.0.0_001/qkBZkHLASPmESyCmuI-f6A] update_mapping [_doc]
[00:11:58]               │ proc [kibana]   log   [20:33:03.044] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> OUTDATED_DOCUMENTS_SEARCH
[00:11:58]               │ proc [kibana]   log   [20:33:03.053] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:11:58]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana_8.0.0_001/qkBZkHLASPmESyCmuI-f6A] update_mapping [_doc]
[00:11:58]               │ proc [kibana]   log   [20:33:03.125] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:11:58]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] 21609 finished with response BulkByScrollResponse[took=27ms,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:59]               │ proc [kibana]   log   [20:33:03.237] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:11:59]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] [.kibana_8.0.0_reindex_temp/UmZSVja8TsSxna-Rtn3lIg] deleting index
[00:11:59]               │ proc [kibana]   log   [20:33:03.282] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:11:59]               │ proc [kibana]   log   [20:33:03.282] [info][savedobjects-service] [.kibana] Migration completed after 1831ms
[00:11:59]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:12:32]             └-: global saved object management read privileges
[00:12:32]               └-> "before all" hook
[00:12:32]               └-> "before all" hook
[00:12:32]                 │ debg creating role global_som_read_role
[00:12:32]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] added role [global_som_read_role]
[00:12:32]                 │ debg creating user global_som_read_user
[00:12:32]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612208666561223082] added user [global_som_read_user]
[00:12:32]                 │ debg created user global_som_read_user
[00:12:32]                 │ debg SecurityPage.forceLogout
[00:12:32]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:12:32]                 │ debg Already on the login page, not forcing anything
[00:12:32]                 │ debg TestSubjects.exists(loginForm)
[00:12:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:12:32]                 │ debg Waiting for Login Form to appear.
[00:12:32]                 │ debg Waiting up to 100000ms for login form...
[00:12:32]                 │ debg TestSubjects.exists(loginForm)
[00:12:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:12:32]                 │ debg TestSubjects.setValue(loginUsername, global_som_read_user)
[00:12:32]                 │ debg TestSubjects.click(loginUsername)
[00:12:32]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:12:32]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:12:32]                 │ debg TestSubjects.setValue(loginPassword, global_som_read_user-password)
[00:12:32]                 │ debg TestSubjects.click(loginPassword)
[00:12:32]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:12:32]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:12:33]                 │ debg TestSubjects.click(loginSubmit)
[00:12:33]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:12:33]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:12:33]                 │ debg Waiting for login result, expected: undefined.
[00:12:33]                 │ debg Waiting up to 20000ms for logout button visible...
[00:12:33]                 │ debg TestSubjects.exists(userMenuButton)
[00:12:33]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:12:33]                 │ proc [kibana]   log   [20:33:37.343] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:12:35]                 │ debg browser[INFO] http://localhost:61241/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:12:35]                 │
[00:12:35]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:35]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:12:36]                 │ debg TestSubjects.exists(userMenuButton)
[00:12:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:12:36]                 │ debg TestSubjects.exists(userMenu)
[00:12:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:12:39]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:12:39]                 │ debg TestSubjects.click(userMenuButton)
[00:12:39]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:12:39]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:12:39]                 │ debg TestSubjects.exists(userMenu)
[00:12:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:12:40]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:12:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:12:40]               └-: listing
[00:12:40]                 └-> "before all" hook
[00:12:40]                 └-> "before all" hook
[00:12:40]                   │ debg navigating to settings url: http://localhost:61241/app/management
[00:12:40]                   │ debg navigate to: http://localhost:61241/app/management
[00:12:40]                   │ debg browser[INFO] http://localhost:61241/app/management?_t=1612211624207 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:12:40]                   │
[00:12:40]                   │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:40]                   │ debg ... sleep(700) start
[00:12:40]                   │ debg ... sleep(700) end
[00:12:40]                   │ debg returned from get, calling refresh
[00:12:41]                   │ debg browser[INFO] http://localhost:61241/app/management?_t=1612211624207 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:12:41]                   │
[00:12:41]                   │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:41]                   │ debg currentUrl = http://localhost:61241/app/management
[00:12:41]                   │          appUrl = http://localhost:61241/app/management
[00:12:41]                   │ debg TestSubjects.find(kibanaChrome)
[00:12:41]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:42]                   │ debg ... sleep(501) start
[00:12:42]                   │ debg ... sleep(501) end
[00:12:42]                   │ debg in navigateTo url = http://localhost:61241/app/management
[00:12:42]                   │ debg TestSubjects.exists(statusPageContainer)
[00:12:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:12:45]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:12:45]                   │ debg TestSubjects.click(objects)
[00:12:45]                   │ debg Find.clickByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:12:45]                   │ debg Find.findByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:12:45]                   │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:46]                   │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:12:46]                   │        (Session info: headless chrome=88.0.4324.96)
[00:12:51]                 └-> shows all saved objects
[00:12:51]                   └-> "before each" hook: global before each
[00:12:51]                   │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:55]                   │ debg TestSubjects.find(savedObjectsTable)
[00:12:55]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:12:55]                   │ info Taking screenshot "/dev/shm/workspace/parallel/24/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:55]                   │ info Current URL is: http://localhost:61241/app/management/kibana/objects
[00:12:55]                   │ info Saving page source to: /dev/shm/workspace/parallel/24/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:55]                   └- ✖ fail: Saved objects management feature controls saved objects management global saved object management read privileges listing shows all saved objects
[00:12:55]                   │       Error: expected [ 'Advanced Settings [8.0.0-SNAPSHOT]',
[00:12:55]                   │   'Advanced Settings [6.0.0]',
[00:12:55]                   │   'A Dashboard',
[00:12:55]                   │   'logstash-*',
[00:12:55]                   │   'A Pie' ] to sort of equal [ 'Advanced Settings [6.0.0]',
[00:12:55]                   │   'Advanced Settings [8.0.0-SNAPSHOT]',
[00:12:55]                   │   'A Dashboard',
[00:12:55]                   │   'logstash-*',
[00:12:55]                   │   'A Pie' ]
[00:12:55]                   │       + expected - actual
[00:12:55]                   │ 
[00:12:55]                   │        [
[00:12:55]                   │       +  "Advanced Settings [6.0.0]"
[00:12:55]                   │          "Advanced Settings [8.0.0-SNAPSHOT]"
[00:12:55]                   │       -  "Advanced Settings [6.0.0]"
[00:12:55]                   │          "A Dashboard"
[00:12:55]                   │          "logstash-*"
[00:12:55]                   │          "A Pie"
[00:12:55]                   │        ]
[00:12:55]                   │       
[00:12:55]                   │       at Assertion.assert (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:100:11)
[00:12:55]                   │       at Assertion.eql (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:244:8)
[00:12:55]                   │       at Context.<anonymous> (test/functional/apps/saved_objects_management/feature_controls/saved_objects_management_security.ts:189:30)
[00:12:55]                   │       at runMicrotasks (<anonymous>)
[00:12:55]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:12:55]                   │       at Object.apply (/dev/shm/workspace/parallel/24/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:12:55]                   │ 
[00:12:55]                   │ 

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/24/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/24/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/24/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

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)
  ...
@TinaHeiligers TinaHeiligers deleted the ts-project-refs-es_ui/grokdebugger branch March 23, 2021 17:21
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 v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants