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] Add --ssl flag to make resolver generator use ssl with kbn and elasticsearch clients (#89873) #90364

Merged

Conversation

kqualters-elastic
Copy link
Contributor

Backports the following commits to 7.x:

@kqualters-elastic
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/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:17]         └-: transform
[00:19:17]           └-> "before all" hook in "transform"
[00:19:17]           └-> "before all" hook in "transform"
[00:19:17]             │ debg creating role transform_source
[00:19:17]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] added role [transform_source]
[00:19:17]             │ debg creating role transform_dest
[00:19:17]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] added role [transform_dest]
[00:19:17]             │ debg creating role transform_dest_readonly
[00:19:18]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] added role [transform_dest_readonly]
[00:19:18]             │ debg creating role transform_ui_extras
[00:19:18]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] added role [transform_ui_extras]
[00:19:18]             │ debg creating user transform_poweruser
[00:19:18]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] added user [transform_poweruser]
[00:19:18]             │ debg created user transform_poweruser
[00:19:18]             │ debg creating user transform_viewer
[00:19:18]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] added user [transform_viewer]
[00:19:18]             │ debg created user transform_viewer
[00:24:16]           └-: feature controls
[00:24:16]             └-> "before all" hook in "feature controls"
[00:24:16]             └-: security
[00:24:16]               └-> "before all" hook in "security"
[00:24:16]               └-> "before all" hook in "security"
[00:24:16]                 │ info [empty_kibana] Loading "mappings.json"
[00:24:16]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] [.kibana_2/ro2p3hX4TkquN4E5BWGJVA] deleting index
[00:24:16]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] [.kibana_1/37wwZxQWTRqLJ8zMZXOC8Q] deleting index
[00:24:16]                 │ info [empty_kibana] Deleted existing index ".kibana_2"
[00:24:16]                 │ info [empty_kibana] Deleted existing index ".kibana_1"
[00:24:16]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:24:16]                 │ info [empty_kibana] Created index ".kibana"
[00:24:16]                 │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:24:16]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] [.kibana/zmqdJQPyTp2JFR2SU8M0_g] update_mapping [_doc]
[00:24:16]                 │ debg Migrating saved objects
[00:24:16]                 │ proc [kibana]   log   [08:46:15.134] [info][savedobjects-service] Creating index .kibana_task_manager_3.
[00:24:16]                 │ proc [kibana]   log   [08:46:15.136] [info][savedobjects-service] Creating index .kibana_2.
[00:24:16]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] [.kibana_task_manager_3] creating index, cause [api], templates [], shards [1]/[1]
[00:24:16]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] updating number_of_replicas to [0] for indices [.kibana_task_manager_3]
[00:24:16]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:24:16]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] updating number_of_replicas to [0] for indices [.kibana_2]
[00:24:16]                 │ proc [kibana]   log   [08:46:15.214] [info][savedobjects-service] Migrating .kibana_task_manager_2 saved objects to .kibana_task_manager_3
[00:24:16]                 │ proc [kibana]   log   [08:46:15.229] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:24:16]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] [.kibana_task_manager_3/LSKP8bD8RX6xZ_dRjdJK0A] update_mapping [_doc]
[00:24:16]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:24:16]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] updating number_of_replicas to [0] for indices [.kibana_1]
[00:24:16]                 │ proc [kibana]   log   [08:46:15.287] [info][savedobjects-service] Pointing alias .kibana_task_manager to .kibana_task_manager_3.
[00:24:16]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] 29580 finished with response BulkByScrollResponse[took=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=[]]
[00:24:16]                 │ proc [kibana]   log   [08:46:15.323] [info][savedobjects-service] Finished in 189ms.
[00:24:16]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] [.kibana/zmqdJQPyTp2JFR2SU8M0_g] deleting index
[00:24:17]                 │ proc [kibana]   log   [08:46:15.584] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:24:17]                 │ proc [kibana]   log   [08:46:15.589] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:24:17]                 │ proc [kibana]   log   [08:46:15.615] [info][savedobjects-service] Finished in 482ms.
[00:24:17]                 │ debg [empty_kibana] Migrated Kibana index after loading Kibana data
[00:24:17]                 │ debg [empty_kibana] Ensured that default space exists in .kibana
[00:24:17]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:24:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] [.kibana_2/msHeo7lTRre874o-JCe3cg] update_mapping [_doc]
[00:24:18]                 │ debg SecurityPage.forceLogout
[00:24:18]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:24:18]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:24:19]                 │ debg Redirecting to /logout to force the logout
[00:24:19]                 │ debg Waiting on the login form to appear
[00:24:19]                 │ debg Waiting for Login Page to appear.
[00:24:19]                 │ debg Waiting up to 100000ms for login page...
[00:24:19]                 │ debg browser[INFO] http://localhost:6121/logout?_t=1612860377836 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:19]                 │
[00:24:19]                 │ debg browser[INFO] http://localhost:6121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:19]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:24:21]                 │ERROR browser[SEVERE] http://localhost:6121/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:24:21]                 │ debg browser[INFO] http://localhost:6121/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:24:21]                 │
[00:24:21]                 │ debg browser[INFO] http://localhost:6121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:21]                 │ERROR browser[SEVERE] http://localhost:6121/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:24:21]                 │ERROR browser[SEVERE] http://localhost:6121/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:24:21]                 │ debg browser[INFO] http://localhost:6121/38576/bundles/core/core.entry.js 12:159412 "Detected an unhandled Promise rejection.
[00:24:21]                 │      Error: Unauthorized"
[00:24:21]                 │ERROR browser[SEVERE] http://localhost:6121/38576/bundles/core/core.entry.js 5:3002 
[00:24:21]                 │ERROR browser[SEVERE] http://localhost:6121/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:24:21]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:24:22]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:24:22]                 │ debg navigating to home url: http://localhost:6121/app/home#/
[00:24:22]                 │ debg navigate to: http://localhost:6121/app/home#/
[00:24:23]                 │ debg browser[INFO] http://localhost:6121/login?next=%2Fapp%2Fhome%3F_t%3D1612860381546#/ 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:23]                 │
[00:24:23]                 │ debg browser[INFO] http://localhost:6121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:23]                 │ debg ... sleep(700) start
[00:24:23]                 │ debg ... sleep(700) end
[00:24:23]                 │ debg returned from get, calling refresh
[00:24:24]                 │ERROR browser[SEVERE] http://localhost:6121/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:24:24]                 │ debg browser[INFO] http://localhost:6121/login?next=%2Fapp%2Fhome%3F_t%3D1612860381546#/ 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:24]                 │
[00:24:24]                 │ debg browser[INFO] http://localhost:6121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:24]                 │ debg currentUrl = http://localhost:6121/login?next=%2Fapp%2Fhome%3F_t%3D1612860381546#/
[00:24:24]                 │          appUrl = http://localhost:6121/app/home#/
[00:24:24]                 │ debg TestSubjects.find(kibanaChrome)
[00:24:24]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:24:24]                 │ debg Found login page
[00:24:24]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:24:24]                 │ debg TestSubjects.click(loginUsername)
[00:24:24]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:24:24]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:24:24]                 │ERROR browser[SEVERE] http://localhost:6121/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:24:24]                 │ debg browser[INFO] http://localhost:6121/38576/bundles/core/core.entry.js 12:159412 "Detected an unhandled Promise rejection.
[00:24:24]                 │      Error: Unauthorized"
[00:24:24]                 │ERROR browser[SEVERE] http://localhost:6121/38576/bundles/core/core.entry.js 5:3002 
[00:24:24]                 │ERROR browser[SEVERE] http://localhost:6121/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:24:24]                 │ERROR browser[SEVERE] http://localhost:6121/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:24:24]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:24:24]                 │ debg TestSubjects.click(loginPassword)
[00:24:24]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:24:24]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:24:24]                 │ debg TestSubjects.click(loginSubmit)
[00:24:24]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:24:24]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:24:25]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:24:25]                 │ proc [kibana]   log   [08:46:23.624] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:24:25]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:24:25]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:24:27]                 │ debg browser[INFO] http://localhost:6121/app/home?_t=1612860381546#/ 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:27]                 │
[00:24:27]                 │ debg browser[INFO] http://localhost:6121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:27]                 │ debg browser[INFO] http://localhost:6121/app/home?_t=1612860385613#/ 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:27]                 │
[00:24:27]                 │ debg browser[INFO] http://localhost:6121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:27]                 │ debg Finished login process currentUrl = http://localhost:6121/app/home#/
[00:24:27]                 │ debg ... sleep(501) start
[00:24:28]                 │ debg ... sleep(501) end
[00:24:28]                 │ debg in navigateTo url = http://localhost:6121/app/home#/
[00:24:28]                 │ debg TestSubjects.exists(statusPageContainer)
[00:24:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:24:30]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:24:31]               └-: global all privileges (aka kibana_admin)
[00:24:31]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:24:31]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:24:31]                   │ debg set roles = kibana_admin
[00:24:31]                   │ debg creating user test_user
[00:24:31]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1612856513973764380] updated user [test_user]
[00:24:31]                   │ debg created user test_user
[00:24:31]                   │ debg TestSubjects.exists(kibanaChrome)
[00:24:31]                   │ debg Find.existsByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=2500
[00:24:31]                   │ debg TestSubjects.find(kibanaChrome)
[00:24:31]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=100000
[00:24:32]                   │ debg browser[INFO] http://localhost:6121/app/home?_t=1612860385613#/ 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:32]                   │
[00:24:32]                   │ debg browser[INFO] http://localhost:6121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:32]                 └-> should show the Stack Management nav link
[00:24:32]                   └-> "before each" hook: global before each for "should show the Stack Management nav link"
[00:24:32]                   │ debg isGlobalLoadingIndicatorVisible
[00:24:32]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:24:32]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:24:34]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:24:34]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:24:34]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:24:34]                   │ debg TestSubjects.exists(collapsibleNav)
[00:24:34]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:24:37]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:24:37]                   │ debg TestSubjects.click(toggleNavButton)
[00:24:37]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:24:37]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:24:37]                   │ debg TestSubjects.find(collapsibleNav)
[00:24:37]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:24:37]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:24:37]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:24:37]                   │ debg Find.clickByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:24:37]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:24:38]                   └- ✓ pass  (5.5s) "transform feature controls security global all privileges (aka kibana_admin) should show the Stack Management nav link"
[00:24:38]                 └-> should not render the "Stack" section
[00:24:38]                   └-> "before each" hook: global before each for "should not render the "Stack" section"
[00:24:38]                   │ debg navigating to management url: http://localhost:6121/app/management
[00:24:38]                   │ debg navigate to: http://localhost:6121/app/management
[00:24:38]                   │ debg browser[INFO] http://localhost:6121/app/management?_t=1612860396648 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:38]                   │
[00:24:38]                   │ debg browser[INFO] http://localhost:6121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:38]                   │ debg ... sleep(700) start
[00:24:38]                   │ debg ... sleep(700) end
[00:24:38]                   │ debg returned from get, calling refresh
[00:24:39]                   │ debg browser[INFO] http://localhost:6121/app/management?_t=1612860396648 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:39]                   │
[00:24:39]                   │ debg browser[INFO] http://localhost:6121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:39]                   │ debg currentUrl = http://localhost:6121/app/management
[00:24:39]                   │          appUrl = http://localhost:6121/app/management
[00:24:39]                   │ debg TestSubjects.find(kibanaChrome)
[00:24:39]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:24:40]                   │ debg ... sleep(501) start
[00:24:41]                   │ debg ... sleep(501) end
[00:24:41]                   │ debg in navigateTo url = http://localhost:6121/app/management
[00:24:41]                   │ debg TestSubjects.exists(statusPageContainer)
[00:24:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:24:43]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:24:44]                   │ debg Find.allByCssSelector('.mgtSideBarNav > .euiSideNav__content > .euiSideNavItem') with timeout=10000
[00:24:44]                   │ info Taking screenshot "/dev/shm/workspace/parallel/2/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:24:44]                   │ info Current URL is: http://localhost:6121/app/management
[00:24:44]                   │ info Saving page source to: /dev/shm/workspace/parallel/2/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:24:44]                   └- ✖ fail: transform feature controls security global all privileges (aka kibana_admin) should not render the "Stack" section
[00:24:44]                   │       Error: expected [ 'ingest', 'insightsAndAlerting', 'kibana' ] to sort of equal [ 'insightsAndAlerting', 'kibana' ]
[00:24:44]                   │       + expected - actual
[00:24:44]                   │ 
[00:24:44]                   │        [
[00:24:44]                   │       -  "ingest"
[00:24:44]                   │          "insightsAndAlerting"
[00:24:44]                   │          "kibana"
[00:24:44]                   │        ]
[00:24:44]                   │       
[00:24:44]                   │       at Assertion.assert (/dev/shm/workspace/parallel/2/kibana/packages/kbn-expect/expect.js:100:11)
[00:24:44]                   │       at Assertion.eql (/dev/shm/workspace/parallel/2/kibana/packages/kbn-expect/expect.js:244:8)
[00:24:44]                   │       at Context.<anonymous> (test/functional/apps/transform/feature_controls/transform_security.ts:45:29)
[00:24:44]                   │       at runMicrotasks (<anonymous>)
[00:24:44]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:24:44]                   │       at Object.apply (/dev/shm/workspace/parallel/2/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:24:44]                   │ 
[00:24:44]                   │ 

Stack Trace

Error: expected [ 'ingest', 'insightsAndAlerting', 'kibana' ] to sort of equal [ 'insightsAndAlerting', 'kibana' ]
    at Assertion.assert (/dev/shm/workspace/parallel/2/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/2/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/2/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]

✅ unchanged

History

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

@kqualters-elastic kqualters-elastic merged commit da38f0d into elastic:7.x Feb 9, 2021
@kqualters-elastic kqualters-elastic deleted the backport/7.x/pr-89873 branch February 9, 2021 14:01
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