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

[7.x] Adds a Reason indicator to the onClose handler in AddAlert and EditAlert (#92149) #92200

Merged
merged 1 commit into from
Feb 23, 2021

Conversation

gmmorris
Copy link
Contributor

Backports the following commits to 7.x:

…ert (elastic#92149)

Adds a `AlertFlyoutCloseReason` on the `onClose` handlers of `AlertAdd` and `AlertEdit` indicating the reason for the handler being called.
@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/index_lifecycle_management/feature_controls/ilm_security·ts.Index Lifecycle Management app feature controls security global dashboard read with manage_ilm should render the "Data" section with ILM

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:14:31]         └-: Index Lifecycle Management app
[00:14:31]           └-> "before all" hook in "Index Lifecycle Management app"
[00:14:31]           └-: feature controls
[00:14:31]             └-> "before all" hook in "feature controls"
[00:14:31]             └-: security
[00:14:31]               └-> "before all" hook in "security"
[00:14:31]               └-> "before all" hook in "security"
[00:14:31]                 │ info [empty_kibana] Loading "mappings.json"
[00:14:31]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] [.kibana_pre6.5.0_001/LtiWKNsiRbmLJ5NogHeePQ] deleting index
[00:14:31]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] [.kibana_7.13.0_001/pr_g6tQdRSGMlocwYvwbqQ] deleting index
[00:14:31]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] [.kibana_task_manager_7.13.0_001/83-3gdspTXmY4K09Y-RJ0A] deleting index
[00:14:31]                 │ info [empty_kibana] Deleted existing index ".kibana_task_manager_7.13.0_001"
[00:14:31]                 │ info [empty_kibana] Deleted existing index ".kibana_7.13.0_001"
[00:14:31]                 │ info [empty_kibana] Deleted existing index ".kibana_pre6.5.0_001"
[00:14:31]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:14:31]                 │ info [empty_kibana] Created index ".kibana"
[00:14:31]                 │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:14:31]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] [.kibana/hb6J5TLNSc-oSUkst9ZQLA] update_mapping [_doc]
[00:14:31]                 │ debg Migrating saved objects
[00:14:31]                 │ proc [kibana]   log   [16:08:15.691] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:14:31]                 │ proc [kibana]   log   [16:08:15.694] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:14:31]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] [.kibana_task_manager_7.13.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:14:31]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] updating number_of_replicas to [0] for indices [.kibana_task_manager_7.13.0_001]
[00:14:31]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] adding block write to indices [[.kibana/hb6J5TLNSc-oSUkst9ZQLA]]
[00:14:31]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] completed adding block write to indices [.kibana]
[00:14:31]                 │ proc [kibana]   log   [16:08:15.753] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY
[00:14:31]                 │ proc [kibana]   log   [16:08:15.767] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:14:31]                 │ proc [kibana]   log   [16:08:15.779] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE
[00:14:31]                 │ proc [kibana]   log   [16:08:15.780] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 92ms
[00:14:31]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:14:31]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:14:31]                 │ proc [kibana]   log   [16:08:15.824] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:14:31]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] 25462 finished with response BulkByScrollResponse[took=1.4ms,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=[]]
[00:14:31]                 │ proc [kibana]   log   [16:08:15.830] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:14:31]                 │ proc [kibana]   log   [16:08:15.835] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:14:31]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] [.kibana/hb6J5TLNSc-oSUkst9ZQLA] deleting index
[00:14:31]                 │ proc [kibana]   log   [16:08:15.871] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:14:31]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] adding block write to indices [[.kibana_pre6.5.0_001/7IjBZwRwQPSf6JK4BucX_Q]]
[00:14:31]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:14:31]                 │ proc [kibana]   log   [16:08:15.906] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:14:31]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] [.kibana_7.13.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:14:31]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] updating number_of_replicas to [0] for indices [.kibana_7.13.0_reindex_temp]
[00:14:31]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.13.0_reindex_temp][0]]]).
[00:14:31]                 │ proc [kibana]   log   [16:08:15.955] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:14:31]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] 25496 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=[]]
[00:14:31]                 │ proc [kibana]   log   [16:08:15.960] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:14:31]                 │ proc [kibana]   log   [16:08:15.965] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:14:31]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] adding block write to indices [[.kibana_7.13.0_reindex_temp/kM9JP83fT1OjHcD2-E6_NA]]
[00:14:31]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] completed adding block write to indices [.kibana_7.13.0_reindex_temp]
[00:14:31]                 │ proc [kibana]   log   [16:08:16.004] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:14:31]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] applying create index request using existing index [.kibana_7.13.0_reindex_temp] metadata
[00:14:31]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] [.kibana_7.13.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:14:31]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] updating number_of_replicas to [0] for indices [.kibana_7.13.0_001]
[00:14:31]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] [.kibana_7.13.0_001/s73pGNL2TMmURaxQ1U3vyQ] create_mapping [_doc]
[00:14:31]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.13.0_001][0]]]).
[00:14:31]                 │ proc [kibana]   log   [16:08:16.081] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:14:31]                 │ proc [kibana]   log   [16:08:16.086] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:14:31]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] [.kibana_7.13.0_001/s73pGNL2TMmURaxQ1U3vyQ] update_mapping [_doc]
[00:14:31]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] 25532 finished with response BulkByScrollResponse[took=1.3ms,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=[]]
[00:14:31]                 │ proc [kibana]   log   [16:08:16.133] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:14:31]                 │ proc [kibana]   log   [16:08:16.140] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:14:31]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] [.kibana_7.13.0_reindex_temp/kM9JP83fT1OjHcD2-E6_NA] deleting index
[00:14:32]                 │ proc [kibana]   log   [16:08:16.175] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:14:32]                 │ proc [kibana]   log   [16:08:16.175] [info][savedobjects-service] [.kibana] Migration completed after 489ms
[00:14:32]                 │ debg [empty_kibana] Migrated Kibana index after loading Kibana data
[00:14:32]                 │ debg [empty_kibana] Ensured that default space exists in .kibana
[00:14:32]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:14:32]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] [.kibana_7.13.0_001/s73pGNL2TMmURaxQ1U3vyQ] update_mapping [_doc]
[00:14:33]                 │ debg navigating to home url: http://localhost:61211/app/home#/
[00:14:33]                 │ debg navigate to: http://localhost:61211/app/home#/
[00:14:34]                 │ debg browser[INFO] http://localhost:61211/app/home?_t=1614010098046#/ 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:14:34]                 │
[00:14:34]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:34]                 │ debg ... sleep(700) start
[00:14:34]                 │ debg ... sleep(700) end
[00:14:34]                 │ debg returned from get, calling refresh
[00:14:35]                 │ERROR browser[SEVERE] http://localhost:61211/38994/bundles/core/core.entry.js 12:161542 TypeError: Failed to fetch
[00:14:35]                 │          at fetch_Fetch.fetchResponse (http://localhost:61211/38994/bundles/core/core.entry.js:6:32451)
[00:14:35]                 │          at async interceptResponse (http://localhost:61211/38994/bundles/core/core.entry.js:6:28637)
[00:14:35]                 │          at async http://localhost:61211/38994/bundles/core/core.entry.js:6:31117
[00:14:35]                 │ debg browser[INFO] http://localhost:61211/app/home?_t=1614010098046#/ 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:14:35]                 │
[00:14:35]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:35]                 │ debg currentUrl = http://localhost:61211/app/home#/
[00:14:35]                 │          appUrl = http://localhost:61211/app/home#/
[00:14:35]                 │ debg TestSubjects.find(kibanaChrome)
[00:14:35]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:35]                 │ debg ... sleep(501) start
[00:14:36]                 │ debg ... sleep(501) end
[00:14:36]                 │ debg in navigateTo url = http://localhost:61211/app/home#/
[00:14:36]                 │ debg TestSubjects.exists(statusPageContainer)
[00:14:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:14:38]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:14:53]               └-: global dashboard read with manage_ilm
[00:14:53]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:14:53]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:14:53]                   │ debg set roles = global_dashboard_read,manage_ilm
[00:14:53]                   │ debg creating user test_user
[00:14:53]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614006937270833405] updated user [test_user]
[00:14:53]                   │ debg created user test_user
[00:14:53]                   │ debg TestSubjects.exists(kibanaChrome)
[00:14:53]                   │ debg Find.existsByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=2500
[00:14:53]                   │ debg TestSubjects.find(kibanaChrome)
[00:14:53]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=100000
[00:14:53]                   │ debg browser[INFO] http://localhost:61211/app/management?_t=1614010110154 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:14:53]                   │
[00:14:53]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:54]                 └-> should show the Stack Management nav link
[00:14:54]                   └-> "before each" hook: global before each for "should show the Stack Management nav link"
[00:14:54]                   │ debg isGlobalLoadingIndicatorVisible
[00:14:54]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:56]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:14:56]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:56]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:56]                   │ debg TestSubjects.exists(collapsibleNav)
[00:14:56]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:14:59]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:14:59]                   │ debg TestSubjects.click(toggleNavButton)
[00:14:59]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:14:59]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:14:59]                   │ debg TestSubjects.find(collapsibleNav)
[00:14:59]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:14:59]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:14:59]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:14:59]                   │ debg Find.clickByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:14:59]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:15:00]                   └- ✓ pass  (5.4s) "Index Lifecycle Management app feature controls security global dashboard read with manage_ilm should show the Stack Management nav link"
[00:15:00]                 └-> should render the "Data" section with ILM
[00:15:00]                   └-> "before each" hook: global before each for "should render the "Data" section with ILM"
[00:15:00]                   │ debg navigating to management url: http://localhost:61211/app/management
[00:15:00]                   │ debg navigate to: http://localhost:61211/app/management
[00:15:00]                   │ debg browser[INFO] http://localhost:61211/app/management?_t=1614010124242 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:15:00]                   │
[00:15:00]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:00]                   │ debg ... sleep(700) start
[00:15:00]                   │ debg ... sleep(700) end
[00:15:00]                   │ debg returned from get, calling refresh
[00:15:01]                   │ debg browser[INFO] http://localhost:61211/app/management?_t=1614010124242 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:15:01]                   │
[00:15:01]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:01]                   │ debg currentUrl = http://localhost:61211/app/management
[00:15:01]                   │          appUrl = http://localhost:61211/app/management
[00:15:01]                   │ debg TestSubjects.find(kibanaChrome)
[00:15:01]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:02]                   │ debg ... sleep(501) start
[00:15:02]                   │ debg ... sleep(501) end
[00:15:02]                   │ debg in navigateTo url = http://localhost:61211/app/management
[00:15:02]                   │ debg TestSubjects.exists(statusPageContainer)
[00:15:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:15:05]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:15:05]                   │ debg Find.allByCssSelector('.mgtSideBarNav > .euiSideNav__content > .euiSideNavItem') with timeout=10000
[00:15:05]                   │ info Taking screenshot "/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/screenshots/failure/Index Lifecycle Management app feature controls security global dashboard read with manage_ilm should render the _Data_ section with ILM.png"
[00:15:05]                   │ info Current URL is: http://localhost:61211/app/management
[00:15:05]                   │ info Saving page source to: /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/failure_debug/html/Index Lifecycle Management app feature controls security global dashboard read with manage_ilm should render the _Data_ section with ILM.html
[00:15:05]                   └- ✖ fail: Index Lifecycle Management app feature controls security global dashboard read with manage_ilm should render the "Data" section with ILM
[00:15:05]                   │      Error: expected [ { sectionId: 'data',
[00:15:05]                   │     sectionLinks: [ 'index_lifecycle_management' ] },
[00:15:05]                   │   { sectionId: 'insightsAndAlerting',
[00:15:05]                   │     sectionLinks: [ 'watcher' ] } ] to have a length of 1 but got 2
[00:15:05]                   │       at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:100:11)
[00:15:05]                   │       at Assertion.length (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:374:8)
[00:15:05]                   │       at Context.<anonymous> (test/functional/apps/index_lifecycle_management/feature_controls/ilm_security.ts:63:34)
[00:15:05]                   │       at runMicrotasks (<anonymous>)
[00:15:05]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:15:05]                   │       at Object.apply (/dev/shm/workspace/parallel/21/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:15:05]                   │ 
[00:15:05]                   │ 

Stack Trace

Error: expected [ { sectionId: 'data',
    sectionLinks: [ 'index_lifecycle_management' ] },
  { sectionId: 'insightsAndAlerting',
    sectionLinks: [ 'watcher' ] } ] to have a length of 1 but got 2
    at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.length (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:374:8)
    at Context.<anonymous> (test/functional/apps/index_lifecycle_management/feature_controls/ilm_security.ts:63:34)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Object.apply (/dev/shm/workspace/parallel/21/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
triggersActionsUi 1.4MB 1.4MB +296.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
triggersActionsUi 147.3KB 147.8KB +500.0B

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

@gmmorris gmmorris merged commit 1a45593 into elastic:7.x Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants