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] [Search Sessions] Enable extend from management (#90558) #90740

Merged
merged 1 commit into from
Feb 9, 2021

Conversation

lizozom
Copy link
Contributor

@lizozom lizozom commented Feb 9, 2021

Backports the following commits to 7.x:

* Enable extend from management

* fix extend jest test
@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/transform/feature_controls/transform_security·ts.transform feature controls security global all privileges (aka kibana_admin) should not render the "Stack" section

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:19:46]         └-: transform
[00:19:46]           └-> "before all" hook in "transform"
[00:19:46]           └-> "before all" hook in "transform"
[00:19:46]             │ debg creating role transform_source
[00:19:46]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] added role [transform_source]
[00:19:46]             │ debg creating role transform_dest
[00:19:46]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] added role [transform_dest]
[00:19:46]             │ debg creating role transform_dest_readonly
[00:19:46]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] added role [transform_dest_readonly]
[00:19:46]             │ debg creating role transform_ui_extras
[00:19:46]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] added role [transform_ui_extras]
[00:19:46]             │ debg creating user transform_poweruser
[00:19:47]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] added user [transform_poweruser]
[00:19:47]             │ debg created user transform_poweruser
[00:19:47]             │ debg creating user transform_viewer
[00:19:47]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] added user [transform_viewer]
[00:19:47]             │ debg created user transform_viewer
[00:24:56]           └-: feature controls
[00:24:56]             └-> "before all" hook in "feature controls"
[00:24:56]             └-: security
[00:24:56]               └-> "before all" hook in "security"
[00:24:56]               └-> "before all" hook in "security"
[00:24:56]                 │ info [empty_kibana] Loading "mappings.json"
[00:24:56]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] [.kibana_2/NWjns7y0SRWAPBWn2qHxCA] deleting index
[00:24:56]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] [.kibana_1/b0uWKu3FTUqt3yWWowIM9Q] deleting index
[00:24:56]                 │ info [empty_kibana] Deleted existing index ".kibana_2"
[00:24:56]                 │ info [empty_kibana] Deleted existing index ".kibana_1"
[00:24:56]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:24:56]                 │ info [empty_kibana] Created index ".kibana"
[00:24:56]                 │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:24:56]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] [.kibana/Xo8sWeb0S9qjvmNjXut9uQ] update_mapping [_doc]
[00:24:56]                 │ debg Migrating saved objects
[00:24:56]                 │ proc [kibana]   log   [10:46:53.296] [info][savedobjects-service] Creating index .kibana_2.
[00:24:56]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:24:56]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] updating number_of_replicas to [0] for indices [.kibana_2]
[00:24:56]                 │ proc [kibana]   log   [10:46:53.371] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:24:56]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:24:56]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] updating number_of_replicas to [0] for indices [.kibana_1]
[00:24:56]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] 29773 finished with response BulkByScrollResponse[took=1.8ms,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:24:56]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] [.kibana/Xo8sWeb0S9qjvmNjXut9uQ] deleting index
[00:24:56]                 │ proc [kibana]   log   [10:46:53.722] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:24:56]                 │ proc [kibana]   log   [10:46:53.726] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:24:56]                 │ proc [kibana]   log   [10:46:53.761] [info][savedobjects-service] Finished in 466ms.
[00:24:56]                 │ debg [empty_kibana] Migrated Kibana index after loading Kibana data
[00:24:56]                 │ debg [empty_kibana] Ensured that default space exists in .kibana
[00:24:56]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:24:56]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] [.kibana_2/NAKFK7PLSJe8T9WL9Z2ZDw] update_mapping [_doc]
[00:24:58]                 │ debg SecurityPage.forceLogout
[00:24:58]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:24:58]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:24:59]                 │ debg Redirecting to /logout to force the logout
[00:24:59]                 │ debg Waiting on the login form to appear
[00:24:59]                 │ debg Waiting for Login Page to appear.
[00:24:59]                 │ debg Waiting up to 100000ms for login page...
[00:24:59]                 │ debg browser[INFO] http://localhost:61211/logout?_t=1612867615984 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:24:59]                 │
[00:24:59]                 │ 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:24:59]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:25:02]                 │ERROR browser[SEVERE] http://localhost:61211/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:25:02]                 │ debg browser[INFO] http://localhost:61211/login?msg=LOGGED_OUT 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:25:02]                 │
[00:25:02]                 │ 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:25:02]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:25:02]                 │ERROR browser[SEVERE] http://localhost:61211/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:25:02]                 │ERROR browser[SEVERE] http://localhost:61211/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:25:02]                 │ debg browser[INFO] http://localhost:61211/38577/bundles/core/core.entry.js 12:159412 "Detected an unhandled Promise rejection.
[00:25:02]                 │      Error: Unauthorized"
[00:25:02]                 │ERROR browser[SEVERE] http://localhost:61211/38577/bundles/core/core.entry.js 5:3002 
[00:25:02]                 │ERROR browser[SEVERE] http://localhost:61211/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:25:03]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:25:03]                 │ debg navigating to home url: http://localhost:61211/app/home#/
[00:25:03]                 │ debg navigate to: http://localhost:61211/app/home#/
[00:25:03]                 │ debg ... sleep(700) start
[00:25:03]                 │ debg browser[INFO] http://localhost:61211/login?next=%2Fapp%2Fhome%3F_t%3D1612867620128#/ 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:25:03]                 │
[00:25:03]                 │ 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:25:03]                 │ debg ... sleep(700) end
[00:25:03]                 │ debg returned from get, calling refresh
[00:25:04]                 │ERROR browser[SEVERE] http://localhost:61211/38577/bundles/core/core.entry.js 12:158464 TypeError: Failed to fetch
[00:25:04]                 │          at fetch_Fetch.fetchResponse (http://localhost:61211/38577/bundles/core/core.entry.js:6:32451)
[00:25:04]                 │          at async interceptResponse (http://localhost:61211/38577/bundles/core/core.entry.js:6:28637)
[00:25:04]                 │          at async http://localhost:61211/38577/bundles/core/core.entry.js:6:31117
[00:25:04]                 │ debg browser[INFO] http://localhost:61211/login?next=%2Fapp%2Fhome%3F_t%3D1612867620128#/ 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:25:04]                 │
[00:25:04]                 │ 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:25:04]                 │ debg currentUrl = http://localhost:61211/login?next=%2Fapp%2Fhome%3F_t%3D1612867620128#/
[00:25:04]                 │          appUrl = http://localhost:61211/app/home#/
[00:25:04]                 │ debg TestSubjects.find(kibanaChrome)
[00:25:04]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:25:04]                 │ debg Found login page
[00:25:04]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:25:04]                 │ debg TestSubjects.click(loginUsername)
[00:25:04]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:25:04]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:25:04]                 │ERROR browser[SEVERE] http://localhost:61211/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:25:04]                 │ debg browser[INFO] http://localhost:61211/38577/bundles/core/core.entry.js 12:159412 "Detected an unhandled Promise rejection.
[00:25:04]                 │      Error: Unauthorized"
[00:25:04]                 │ERROR browser[SEVERE] http://localhost:61211/38577/bundles/core/core.entry.js 5:3002 
[00:25:04]                 │ERROR browser[SEVERE] http://localhost:61211/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:25:05]                 │ERROR browser[SEVERE] http://localhost:61211/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:25:05]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:25:05]                 │ debg TestSubjects.click(loginPassword)
[00:25:05]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:25:05]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:25:05]                 │ debg TestSubjects.click(loginSubmit)
[00:25:05]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:25:05]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:25:05]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:25:05]                 │ proc [kibana]   log   [10:47:02.371] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:25:05]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:25:05]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:25:07]                 │ debg browser[INFO] http://localhost:61211/app/home?_t=1612867620128#/ 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:25:07]                 │
[00:25:07]                 │ 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:25:07]                 │ debg browser[INFO] http://localhost:61211/app/home?_t=1612867624497#/ 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:25:07]                 │
[00:25:07]                 │ 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:25:08]                 │ debg Finished login process currentUrl = http://localhost:61211/app/home#/
[00:25:08]                 │ debg ... sleep(501) start
[00:25:08]                 │ debg ... sleep(501) end
[00:25:08]                 │ debg in navigateTo url = http://localhost:61211/app/home#/
[00:25:08]                 │ debg TestSubjects.exists(statusPageContainer)
[00:25:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:25:11]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:25:11]               └-: global all privileges (aka kibana_admin)
[00:25:11]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:25:11]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:25:11]                   │ debg set roles = kibana_admin
[00:25:11]                   │ debg creating user test_user
[00:25:11]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1612863701670413321] updated user [test_user]
[00:25:11]                   │ debg created user test_user
[00:25:11]                   │ debg TestSubjects.exists(kibanaChrome)
[00:25:11]                   │ debg Find.existsByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=2500
[00:25:12]                   │ debg TestSubjects.find(kibanaChrome)
[00:25:12]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=100000
[00:25:12]                   │ debg browser[INFO] http://localhost:61211/app/home?_t=1612867624497#/ 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:25:12]                   │
[00:25:12]                   │ 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:25:13]                 └-> should show the Stack Management nav link
[00:25:13]                   └-> "before each" hook: global before each for "should show the Stack Management nav link"
[00:25:13]                   │ debg isGlobalLoadingIndicatorVisible
[00:25:13]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:25:13]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:25:14]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:25:15]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:25:15]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:25:15]                   │ debg TestSubjects.exists(collapsibleNav)
[00:25:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:25:17]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:25:18]                   │ debg TestSubjects.click(toggleNavButton)
[00:25:18]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:25:18]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:25:18]                   │ debg TestSubjects.find(collapsibleNav)
[00:25:18]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:25:18]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:25:18]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:25:18]                   │ debg Find.clickByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:25:18]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:25:18]                   └- ✓ pass  (5.6s) "transform feature controls security global all privileges (aka kibana_admin) should show the Stack Management nav link"
[00:25:18]                 └-> should not render the "Stack" section
[00:25:18]                   └-> "before each" hook: global before each for "should not render the "Stack" section"
[00:25:18]                   │ debg navigating to management url: http://localhost:61211/app/management
[00:25:18]                   │ debg navigate to: http://localhost:61211/app/management
[00:25:18]                   │ debg browser[INFO] http://localhost:61211/app/management?_t=1612867635632 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:25:18]                   │
[00:25:18]                   │ 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:25:18]                   │ debg ... sleep(700) start
[00:25:19]                   │ debg ... sleep(700) end
[00:25:19]                   │ debg returned from get, calling refresh
[00:25:19]                   │ debg browser[INFO] http://localhost:61211/app/management?_t=1612867635632 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:25:19]                   │
[00:25:19]                   │ 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:25:20]                   │ debg currentUrl = http://localhost:61211/app/management
[00:25:20]                   │          appUrl = http://localhost:61211/app/management
[00:25:20]                   │ debg TestSubjects.find(kibanaChrome)
[00:25:20]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:25:20]                   │ debg ... sleep(501) start
[00:25:21]                   │ debg ... sleep(501) end
[00:25:21]                   │ debg in navigateTo url = http://localhost:61211/app/management
[00:25:21]                   │ debg TestSubjects.exists(statusPageContainer)
[00:25:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:25:23]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:25:24]                   │ debg Find.allByCssSelector('.mgtSideBarNav > .euiSideNav__content > .euiSideNavItem') with timeout=10000
[00:25:24]                   │ info Taking screenshot "/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/screenshots/failure/transform feature controls security global all privileges _aka kibana_admin_ should not render the _Stack_ section.png"
[00:25:24]                   │ info Current URL is: http://localhost:61211/app/management
[00:25:24]                   │ info Saving page source to: /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/failure_debug/html/transform feature controls security global all privileges _aka kibana_admin_ should not render the _Stack_ section.html
[00:25:24]                   └- ✖ fail: transform feature controls security global all privileges (aka kibana_admin) should not render the "Stack" section
[00:25:24]                   │       Error: expected [ 'ingest', 'insightsAndAlerting', 'kibana' ] to sort of equal [ 'insightsAndAlerting', 'kibana' ]
[00:25:24]                   │       + expected - actual
[00:25:24]                   │ 
[00:25:24]                   │        [
[00:25:24]                   │       -  "ingest"
[00:25:24]                   │          "insightsAndAlerting"
[00:25:24]                   │          "kibana"
[00:25:24]                   │        ]
[00:25:24]                   │       
[00:25:24]                   │       at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:100:11)
[00:25:24]                   │       at Assertion.eql (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:244:8)
[00:25:24]                   │       at Context.<anonymous> (test/functional/apps/transform/feature_controls/transform_security.ts:45:29)
[00:25:24]                   │       at runMicrotasks (<anonymous>)
[00:25:24]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:25:24]                   │       at Object.apply (/dev/shm/workspace/parallel/21/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:25:24]                   │ 
[00:25:24]                   │ 

Stack Trace

Error: expected [ 'ingest', 'insightsAndAlerting', 'kibana' ] to sort of equal [ 'insightsAndAlerting', 'kibana' ]
    at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/transform/feature_controls/transform_security.ts:45:29)
    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) {
  actual: '[\n  "ingest"\n  "insightsAndAlerting"\n  "kibana"\n]',
  expected: '[\n  "insightsAndAlerting"\n  "kibana"\n]',
  showDiff: true
}

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
dataEnhanced 147.4KB 147.6KB +248.0B

Page load bundle

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

id before after diff
data 800.2KB 800.1KB -6.0B

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

@lizozom lizozom merged commit 4639de1 into elastic:7.x Feb 9, 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.

None yet

2 participants