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

[XY] Enables page reload toast for the legacyChartsLibrary setting #92811

Merged
merged 1 commit into from
Feb 25, 2021

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Feb 25, 2021

Summary

Resolves #92804

Enables the requiredPageReload flag in order for the following toast to be visible.

image

@stratoula stratoula added v7.12.0 v7.13.0 v8.0.0 Feature:XYAxis XY-Axis charts (bar, area, line) release_note:skip Skip the PR/issue when compiling release notes labels Feb 25, 2021
@stratoula stratoula marked this pull request as ready for review February 25, 2021 15:24
@stratoula stratoula requested a review from a team February 25, 2021 15:24
@stratoula stratoula added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Feb 25, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

Copy link
Contributor

@mbondyra mbondyra left a comment

Choose a reason for hiding this comment

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

didn't test, but looks good 🆗

@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/cross_cluster_replication/feature_controls/ccr_security·ts.Cross Cluster Replication app feature controls security global dashboard read with ccr_user should render the "Data" section with CCR

Link to Jenkins

Standard Out

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

[00:00:00]       │
[01:08:39]         └-: Cross Cluster Replication app
[01:08:39]           └-> "before all" hook in "Cross Cluster Replication app"
[01:08:39]           └-: feature controls
[01:08:39]             └-> "before all" hook in "feature controls"
[01:08:39]             └-: security
[01:08:39]               └-> "before all" hook in "security"
[01:08:39]               └-> "before all" hook in "security"
[01:08:39]                 │ info [empty_kibana] Loading "mappings.json"
[01:08:39]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] [.kibana_task_manager_8.0.0_001/U2v6BoyATFyvNwJhZZlCBQ] deleting index
[01:08:39]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] [.kibana_1/Rmcx6767TMSyZESgNl23HQ] deleting index
[01:08:39]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] [.kibana_8.0.0_001/ByIqKAtRRAmx6B0NciNh6Q] deleting index
[01:08:39]                 │ info [empty_kibana] Deleted existing index ".kibana_8.0.0_001"
[01:08:39]                 │ info [empty_kibana] Deleted existing index ".kibana_task_manager_8.0.0_001"
[01:08:39]                 │ info [empty_kibana] Deleted existing index ".kibana_1"
[01:08:39]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[01:08:39]                 │ info [empty_kibana] Created index ".kibana"
[01:08:39]                 │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[01:08:39]                 │ debg Migrating saved objects
[01:08:39]                 │ proc [kibana]   log   [15:21:19.141] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[01:08:39]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[01:08:39]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[01:08:39]                 │ proc [kibana]   log   [15:21:19.148] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[01:08:39]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] adding block write to indices [[.kibana/psxRXoIrSw-MuNb07ZIlHA]]
[01:08:39]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] completed adding block write to indices [.kibana]
[01:08:39]                 │ proc [kibana]   log   [15:21:19.200] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY
[01:08:39]                 │ proc [kibana]   log   [15:21:19.214] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[01:08:39]                 │ proc [kibana]   log   [15:21:19.223] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE
[01:08:39]                 │ proc [kibana]   log   [15:21:19.224] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 86ms
[01:08:39]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[01:08:39]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[01:08:39]                 │ proc [kibana]   log   [15:21:19.266] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[01:08:39]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] 111458 finished with response BulkByScrollResponse[took=1.2ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[01:08:39]                 │ proc [kibana]   log   [15:21:19.276] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[01:08:39]                 │ proc [kibana]   log   [15:21:19.282] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[01:08:39]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] [.kibana/psxRXoIrSw-MuNb07ZIlHA] deleting index
[01:08:39]                 │ proc [kibana]   log   [15:21:19.318] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[01:08:39]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] adding block write to indices [[.kibana_pre6.5.0_001/kBnl4_k-Rd-nyhI2OYgj6Q]]
[01:08:39]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] completed adding block write to indices [.kibana_pre6.5.0_001]
[01:08:40]                 │ proc [kibana]   log   [15:21:19.354] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[01:08:40]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[01:08:40]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[01:08:40]                 │ proc [kibana]   log   [15:21:19.403] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[01:08:40]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] 111487 finished with response BulkByScrollResponse[took=1.1ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[01:08:40]                 │ proc [kibana]   log   [15:21:19.409] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[01:08:40]                 │ proc [kibana]   log   [15:21:19.417] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[01:08:40]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] adding block write to indices [[.kibana_8.0.0_reindex_temp/1PEoW-jpTDa2EfJxQljRnA]]
[01:08:40]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[01:08:40]                 │ proc [kibana]   log   [15:21:19.451] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[01:08:40]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[01:08:40]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[01:08:40]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[01:08:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] [.kibana_8.0.0_001/XOZF_X7oSlaDg9mW4WmlUA] create_mapping
[01:08:40]                 │ proc [kibana]   log   [15:21:19.531] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[01:08:40]                 │ proc [kibana]   log   [15:21:19.539] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[01:08:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] [.kibana_8.0.0_001/XOZF_X7oSlaDg9mW4WmlUA] update_mapping [_doc]
[01:08:40]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] 111523 finished with response BulkByScrollResponse[took=886.4micros,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[01:08:40]                 │ proc [kibana]   log   [15:21:19.583] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[01:08:40]                 │ proc [kibana]   log   [15:21:19.590] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[01:08:40]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] [.kibana_8.0.0_reindex_temp/1PEoW-jpTDa2EfJxQljRnA] deleting index
[01:08:40]                 │ proc [kibana]   log   [15:21:19.624] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[01:08:40]                 │ proc [kibana]   log   [15:21:19.625] [info][savedobjects-service] [.kibana] Migration completed after 488ms
[01:08:40]                 │ debg [empty_kibana] Migrated Kibana index after loading Kibana data
[01:08:40]                 │ debg [empty_kibana] Ensured that default space exists in .kibana
[01:08:40]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[01:08:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] [.kibana_8.0.0_001/XOZF_X7oSlaDg9mW4WmlUA] update_mapping [_doc]
[01:08:42]                 │ debg navigating to home url: http://localhost:61201/app/home#/
[01:08:42]                 │ debg navigate to: http://localhost:61201/app/home#/
[01:08:42]                 │ debg browser[INFO] http://localhost:61201/app/home?_t=1614266481493#/ 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.
[01:08:42]                 │
[01:08:42]                 │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:08:42]                 │ debg ... sleep(700) start
[01:08:43]                 │ debg ... sleep(700) end
[01:08:43]                 │ debg returned from get, calling refresh
[01:08:43]                 │ERROR browser[SEVERE] http://localhost:61201/40836/bundles/core/core.entry.js 12:161542 TypeError: Failed to fetch
[01:08:43]                 │          at fetch_Fetch.fetchResponse (http://localhost:61201/40836/bundles/core/core.entry.js:6:32451)
[01:08:43]                 │          at async interceptResponse (http://localhost:61201/40836/bundles/core/core.entry.js:6:28637)
[01:08:43]                 │          at async http://localhost:61201/40836/bundles/core/core.entry.js:6:31117
[01:08:43]                 │ debg browser[INFO] http://localhost:61201/app/home?_t=1614266481493#/ 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.
[01:08:43]                 │
[01:08:43]                 │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:08:43]                 │ debg currentUrl = http://localhost:61201/app/home#/
[01:08:43]                 │          appUrl = http://localhost:61201/app/home#/
[01:08:43]                 │ debg TestSubjects.find(kibanaChrome)
[01:08:43]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[01:08:44]                 │ debg ... sleep(501) start
[01:08:44]                 │ debg ... sleep(501) end
[01:08:44]                 │ debg in navigateTo url = http://localhost:61201/app/home#/
[01:08:44]                 │ debg TestSubjects.exists(statusPageContainer)
[01:08:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[01:08:47]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[01:09:01]               └-: global dashboard read with ccr_user
[01:09:01]                 └-> "before all" hook for "should show the Stack Management nav link"
[01:09:01]                 └-> "before all" hook for "should show the Stack Management nav link"
[01:09:01]                   │ debg set roles = global_dashboard_read,ccr_user
[01:09:01]                   │ debg creating user test_user
[01:09:01]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614259985800242366] updated user [test_user]
[01:09:01]                   │ debg created user test_user
[01:09:01]                   │ debg TestSubjects.exists(kibanaChrome)
[01:09:01]                   │ debg Find.existsByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=2500
[01:09:01]                   │ debg TestSubjects.find(kibanaChrome)
[01:09:01]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=100000
[01:09:01]                   │ debg browser[INFO] http://localhost:61201/app/management?_t=1614266493690 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.
[01:09:01]                   │
[01:09:01]                   │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:09:02]                 └-> should show the Stack Management nav link
[01:09:02]                   └-> "before each" hook: global before each for "should show the Stack Management nav link"
[01:09:02]                   │ debg isGlobalLoadingIndicatorVisible
[01:09:02]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[01:09:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:09:04]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[01:09:04]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:09:04]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:09:04]                   │ debg TestSubjects.exists(collapsibleNav)
[01:09:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[01:09:07]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[01:09:07]                   │ debg TestSubjects.click(toggleNavButton)
[01:09:07]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[01:09:07]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[01:09:08]                   │ debg TestSubjects.find(collapsibleNav)
[01:09:08]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[01:09:08]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[01:09:08]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[01:09:08]                   │ debg Find.clickByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[01:09:08]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[01:09:08]                   └- ✓ pass  (5.4s) "Cross Cluster Replication app feature controls security global dashboard read with ccr_user should show the Stack Management nav link"
[01:09:08]                 └-> should render the "Data" section with CCR
[01:09:08]                   └-> "before each" hook: global before each for "should render the "Data" section with CCR"
[01:09:08]                   │ debg navigating to management url: http://localhost:61201/app/management
[01:09:08]                   │ debg navigate to: http://localhost:61201/app/management
[01:09:08]                   │ debg browser[INFO] http://localhost:61201/app/management?_t=1614266507514 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.
[01:09:08]                   │
[01:09:08]                   │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:09:08]                   │ debg ... sleep(700) start
[01:09:08]                   │ debg ... sleep(700) end
[01:09:08]                   │ debg returned from get, calling refresh
[01:09:09]                   │ debg browser[INFO] http://localhost:61201/app/management?_t=1614266507514 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.
[01:09:09]                   │
[01:09:09]                   │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:09:09]                   │ debg currentUrl = http://localhost:61201/app/management
[01:09:09]                   │          appUrl = http://localhost:61201/app/management
[01:09:09]                   │ debg TestSubjects.find(kibanaChrome)
[01:09:09]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[01:09:10]                   │ debg ... sleep(501) start
[01:09:10]                   │ debg ... sleep(501) end
[01:09:10]                   │ debg in navigateTo url = http://localhost:61201/app/management
[01:09:10]                   │ debg TestSubjects.exists(statusPageContainer)
[01:09:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[01:09:13]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[01:09:13]                   │ debg Find.allByCssSelector('.mgtSideBarNav > .euiSideNav__content > .euiSideNavItem') with timeout=10000
[01:09:13]                   │ info Taking screenshot "/dev/shm/workspace/parallel/20/kibana/x-pack/test/functional/screenshots/failure/Cross Cluster Replication app feature controls security global dashboard read with ccr_user should render the _Data_ section with CCR.png"
[01:09:14]                   │ info Current URL is: http://localhost:61201/app/management
[01:09:14]                   │ info Saving page source to: /dev/shm/workspace/parallel/20/kibana/x-pack/test/functional/failure_debug/html/Cross Cluster Replication app feature controls security global dashboard read with ccr_user should render the _Data_ section with CCR.html
[01:09:14]                   └- ✖ fail: Cross Cluster Replication app feature controls security global dashboard read with ccr_user should render the "Data" section with CCR
[01:09:14]                   │      Error: expected [ { sectionId: 'ingest',
[01:09:14]                   │     sectionLinks: [ 'ingest_pipelines', 'pipelines' ] },
[01:09:14]                   │   { sectionId: 'data',
[01:09:14]                   │     sectionLinks: 
[01:09:14]                   │      [ 'index_management',
[01:09:14]                   │        'index_lifecycle_management',
[01:09:14]                   │        'snapshot_restore',
[01:09:14]                   │        'rollup_jobs',
[01:09:14]                   │        'transform',
[01:09:14]                   │        'cross_cluster_replication',
[01:09:14]                   │        'remote_clusters' ] },
[01:09:14]                   │   { sectionId: 'insightsAndAlerting',
[01:09:14]                   │     sectionLinks: [ 'watcher' ] },
[01:09:14]                   │   { sectionId: 'stack',
[01:09:14]                   │     sectionLinks: [ 'license_management', 'upgrade_assistant' ] } ] to have a length of 3 but got 4
[01:09:14]                   │       at Assertion.assert (/dev/shm/workspace/parallel/20/kibana/packages/kbn-expect/expect.js:100:11)
[01:09:14]                   │       at Assertion.length (/dev/shm/workspace/parallel/20/kibana/packages/kbn-expect/expect.js:374:8)
[01:09:14]                   │       at Context.<anonymous> (test/functional/apps/cross_cluster_replication/feature_controls/ccr_security.ts:63:34)
[01:09:14]                   │       at runMicrotasks (<anonymous>)
[01:09:14]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[01:09:14]                   │       at Object.apply (/dev/shm/workspace/parallel/20/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[01:09:14]                   │ 
[01:09:14]                   │ 

Stack Trace

Error: expected [ { sectionId: 'ingest',
    sectionLinks: [ 'ingest_pipelines', 'pipelines' ] },
  { sectionId: 'data',
    sectionLinks: 
     [ 'index_management',
       'index_lifecycle_management',
       'snapshot_restore',
       'rollup_jobs',
       'transform',
       'cross_cluster_replication',
       'remote_clusters' ] },
  { sectionId: 'insightsAndAlerting',
    sectionLinks: [ 'watcher' ] },
  { sectionId: 'stack',
    sectionLinks: [ 'license_management', 'upgrade_assistant' ] } ] to have a length of 3 but got 4
    at Assertion.assert (/dev/shm/workspace/parallel/20/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.length (/dev/shm/workspace/parallel/20/kibana/packages/kbn-expect/expect.js:374:8)
    at Context.<anonymous> (test/functional/apps/cross_cluster_replication/feature_controls/ccr_security.ts:63:34)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Object.apply (/dev/shm/workspace/parallel/20/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

✅ unchanged

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

@stratoula stratoula merged commit 0b15a06 into elastic:master Feb 25, 2021
jloleysens added a commit to jloleysens/kibana that referenced this pull request Feb 25, 2021
…tiple-searchable-snapshot-actions

* 'master' of github.com:elastic/kibana:
  [Rollup] Fix use of undefined value in JS import (elastic#92791)
  [ILM] Fix replicas not showing  (elastic#92782)
  [Event Log] Extended README.md with the documentation for a REST API and Start plugin contract. (elastic#92562)
  [XY] Enables page reload toast for the legacyChartsLibrary setting (elastic#92811)
  [Security Solution][Case] Improve hooks (elastic#89580)
  [Security Solution] Update wordings and breadcrumb for timelines page (elastic#90809)
  [Security Solution] Replace EUI theme with mocks in jest suites (elastic#92462)
  docs: ✏️ use correct heading level (elastic#92806)
  [ILM ] Fix logic for showing/hiding recommended allocation on Cloud (elastic#90592)
  [Security Solution][Detections] Pull gap detection logic out in preparation for sharing between rule types (elastic#91966)
  [core.savedObjects] Remove _shard_doc tiebreaker since ES now adds it automatically. (elastic#92295)
  docs: ✏️ fix links in embeddable plugin readme (elastic#92778)

# Conflicts:
#	x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/searchable_snapshot_field.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:XYAxis XY-Axis charts (bar, area, line) release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.12.0 v7.13.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Visualize: visualization:visualize:legacyChartsLibrary setting requires a page load to take effect
4 participants