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] [Alerts] Jira: Disallow labels with spaces (#90548) #90690

Merged
merged 1 commit into from
Feb 9, 2021

Conversation

cnasikas
Copy link
Member

@cnasikas cnasikas commented Feb 8, 2021

Backports the following commits to 7.x:

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@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 2 times on tracked branches: https://github.com/elastic/kibana/issues/90576

[00:00:00]       │
[00:16:52]         └-: transform
[00:16:52]           └-> "before all" hook in "transform"
[00:16:52]           └-> "before all" hook in "transform"
[00:16:52]             │ debg creating role transform_source
[00:16:52]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] added role [transform_source]
[00:16:52]             │ debg creating role transform_dest
[00:16:52]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] added role [transform_dest]
[00:16:52]             │ debg creating role transform_dest_readonly
[00:16:52]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] added role [transform_dest_readonly]
[00:16:52]             │ debg creating role transform_ui_extras
[00:16:52]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] added role [transform_ui_extras]
[00:16:52]             │ debg creating user transform_poweruser
[00:16:52]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] added user [transform_poweruser]
[00:16:52]             │ debg created user transform_poweruser
[00:16:52]             │ debg creating user transform_viewer
[00:16:53]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] added user [transform_viewer]
[00:16:53]             │ debg created user transform_viewer
[00:16:53]           └-: feature controls
[00:16:53]             └-> "before all" hook in "feature controls"
[00:16:53]             └-: security
[00:16:53]               └-> "before all" hook in "security"
[00:16:53]               └-> "before all" hook in "security"
[00:16:53]                 │ info [empty_kibana] Loading "mappings.json"
[00:16:53]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] [.kibana_2/2IIMvZMoRlSidfNunJm_vQ] deleting index
[00:16:53]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] [.kibana_1/JzoWkG2wRFulALkKMWFZFw] deleting index
[00:16:53]                 │ info [empty_kibana] Deleted existing index ".kibana_2"
[00:16:53]                 │ info [empty_kibana] Deleted existing index ".kibana_1"
[00:16:53]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:16:53]                 │ info [empty_kibana] Created index ".kibana"
[00:16:53]                 │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:16:53]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] [.kibana/L-lW7xUcQC6HDxvushGTjg] update_mapping [_doc]
[00:16:53]                 │ debg Migrating saved objects
[00:16:53]                 │ proc [kibana]   log   [22:47:34.862] [info][savedobjects-service] Creating index .kibana_2.
[00:16:53]                 │ proc [kibana]   log   [22:47:34.865] [info][savedobjects-service] Creating index .kibana_task_manager_27.
[00:16:53]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:16:53]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] updating number_of_replicas to [0] for indices [.kibana_2]
[00:16:53]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] [.kibana_task_manager_27] creating index, cause [api], templates [], shards [1]/[1]
[00:16:53]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] updating number_of_replicas to [0] for indices [.kibana_task_manager_27]
[00:16:53]                 │ proc [kibana]   log   [22:47:34.946] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:16:53]                 │ proc [kibana]   log   [22:47:34.962] [info][savedobjects-service] Migrating .kibana_task_manager_26 saved objects to .kibana_task_manager_27
[00:16:53]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:16:53]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] updating number_of_replicas to [0] for indices [.kibana_1]
[00:16:53]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] [.kibana_task_manager_27/Va7HyUXBTlKzNtjjnqOOHw] update_mapping [_doc]
[00:16:53]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] 31386 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=[]]
[00:16:53]                 │ proc [kibana]   log   [22:47:35.028] [info][savedobjects-service] Pointing alias .kibana_task_manager to .kibana_task_manager_27.
[00:16:53]                 │ proc [kibana]   log   [22:47:35.067] [info][savedobjects-service] Finished in 202ms.
[00:16:53]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] [.kibana/L-lW7xUcQC6HDxvushGTjg] deleting index
[00:16:53]                 │ proc [kibana]   log   [22:47:35.306] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:16:53]                 │ proc [kibana]   log   [22:47:35.309] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:16:53]                 │ proc [kibana]   log   [22:47:35.334] [info][savedobjects-service] Finished in 474ms.
[00:16:53]                 │ debg [empty_kibana] Migrated Kibana index after loading Kibana data
[00:16:53]                 │ debg [empty_kibana] Ensured that default space exists in .kibana
[00:16:53]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:16:53]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] [.kibana_2/wV2lLOqlQYmgFBe2hB4hgQ] update_mapping [_doc]
[00:16:55]                 │ debg SecurityPage.forceLogout
[00:16:55]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:16:55]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:16:55]                 │ debg Redirecting to /logout to force the logout
[00:16:56]                 │ debg Waiting on the login form to appear
[00:16:56]                 │ debg Waiting for Login Page to appear.
[00:16:56]                 │ debg Waiting up to 100000ms for login page...
[00:16:56]                 │ debg browser[INFO] http://localhost:61191/logout?_t=1612824457545 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:16:56]                 │
[00:16:56]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:56]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:16:58]                 │ERROR browser[SEVERE] http://localhost:61191/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:16:58]                 │ debg browser[INFO] http://localhost:61191/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:16:58]                 │
[00:16:58]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:58]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:16:59]                 │ERROR browser[SEVERE] http://localhost:61191/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:16:59]                 │ERROR browser[SEVERE] http://localhost:61191/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:16:59]                 │ debg browser[INFO] http://localhost:61191/38561/bundles/core/core.entry.js 12:159412 "Detected an unhandled Promise rejection.
[00:16:59]                 │      Error: Unauthorized"
[00:16:59]                 │ERROR browser[SEVERE] http://localhost:61191/38561/bundles/core/core.entry.js 5:3002 
[00:16:59]                 │ERROR browser[SEVERE] http://localhost:61191/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:16:59]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:16:59]                 │ debg navigating to home url: http://localhost:61191/app/home#/
[00:16:59]                 │ debg navigate to: http://localhost:61191/app/home#/
[00:17:00]                 │ debg browser[INFO] http://localhost:61191/login?next=%2Fapp%2Fhome%3F_t%3D1612824461343#/ 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:17:00]                 │
[00:17:00]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:00]                 │ debg ... sleep(700) start
[00:17:00]                 │ERROR browser[SEVERE] http://localhost:61191/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:17:00]                 │ debg browser[INFO] http://localhost:61191/38561/bundles/core/core.entry.js 12:159412 "Detected an unhandled Promise rejection.
[00:17:00]                 │      Error: Unauthorized"
[00:17:00]                 │ERROR browser[SEVERE] http://localhost:61191/38561/bundles/core/core.entry.js 5:3002 
[00:17:00]                 │ERROR browser[SEVERE] http://localhost:61191/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:17:00]                 │ERROR browser[SEVERE] http://localhost:61191/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:17:00]                 │ debg ... sleep(700) end
[00:17:00]                 │ debg returned from get, calling refresh
[00:17:01]                 │ debg browser[INFO] http://localhost:61191/login?next=%2Fapp%2Fhome%3F_t%3D1612824461343#/ 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:17:01]                 │
[00:17:01]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:01]                 │ debg currentUrl = http://localhost:61191/login?next=%2Fapp%2Fhome%3F_t%3D1612824461343#/
[00:17:01]                 │          appUrl = http://localhost:61191/app/home#/
[00:17:01]                 │ debg TestSubjects.find(kibanaChrome)
[00:17:01]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:17:01]                 │ debg Found login page
[00:17:01]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:17:01]                 │ debg TestSubjects.click(loginUsername)
[00:17:01]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:17:01]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:17:01]                 │ERROR browser[SEVERE] http://localhost:61191/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:17:01]                 │ debg browser[INFO] http://localhost:61191/38561/bundles/core/core.entry.js 12:159412 "Detected an unhandled Promise rejection.
[00:17:01]                 │      Error: Unauthorized"
[00:17:01]                 │ERROR browser[SEVERE] http://localhost:61191/38561/bundles/core/core.entry.js 5:3002 
[00:17:01]                 │ERROR browser[SEVERE] http://localhost:61191/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:17:01]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:17:01]                 │ debg TestSubjects.click(loginPassword)
[00:17:01]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:17:01]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:17:01]                 │ERROR browser[SEVERE] http://localhost:61191/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:17:01]                 │ debg TestSubjects.click(loginSubmit)
[00:17:01]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:17:01]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:17:01]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:17:01]                 │ proc [kibana]   log   [22:47:43.477] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:17:02]                 │ debg browser[INFO] http://localhost:61191/app/home?_t=1612824461343#/ 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:17:02]                 │
[00:17:02]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:02]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:17:02]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:17:03]                 │ debg browser[INFO] http://localhost:61191/app/home?_t=1612824464608#/ 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:17:03]                 │
[00:17:03]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:03]                 │ debg Finished login process currentUrl = http://localhost:61191/app/home#/
[00:17:03]                 │ debg ... sleep(501) start
[00:17:04]                 │ debg ... sleep(501) end
[00:17:04]                 │ debg in navigateTo url = http://localhost:61191/app/home#/
[00:17:04]                 │ debg TestSubjects.exists(statusPageContainer)
[00:17:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:17:06]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:17:07]               └-: global all privileges (aka kibana_admin)
[00:17:07]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:17:07]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:17:07]                   │ debg set roles = kibana_admin
[00:17:07]                   │ debg creating user test_user
[00:17:07]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612821429189158454] updated user [test_user]
[00:17:07]                   │ debg created user test_user
[00:17:07]                   │ debg TestSubjects.exists(kibanaChrome)
[00:17:07]                   │ debg Find.existsByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=2500
[00:17:07]                   │ debg TestSubjects.find(kibanaChrome)
[00:17:07]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=100000
[00:17:07]                   │ debg browser[INFO] http://localhost:61191/app/home?_t=1612824464608#/ 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:17:07]                   │
[00:17:07]                   │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:08]                 └-> should show the Stack Management nav link
[00:17:08]                   └-> "before each" hook: global before each for "should show the Stack Management nav link"
[00:17:08]                   │ debg isGlobalLoadingIndicatorVisible
[00:17:08]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:17:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:17:09]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:17:10]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:10]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:10]                   │ debg TestSubjects.exists(collapsibleNav)
[00:17:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:17:12]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:17:13]                   │ debg TestSubjects.click(toggleNavButton)
[00:17:13]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:17:13]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:17:13]                   │ debg TestSubjects.find(collapsibleNav)
[00:17:13]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:17:13]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:17:13]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:17:13]                   │ debg Find.clickByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:17:13]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:17:13]                   └- ✓ pass  (5.5s) "transform feature controls security global all privileges (aka kibana_admin) should show the Stack Management nav link"
[00:17:13]                 └-> should not render the "Stack" section
[00:17:13]                   └-> "before each" hook: global before each for "should not render the "Stack" section"
[00:17:13]                   │ debg navigating to management url: http://localhost:61191/app/management
[00:17:13]                   │ debg navigate to: http://localhost:61191/app/management
[00:17:14]                   │ debg browser[INFO] http://localhost:61191/app/management?_t=1612824475463 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:17:14]                   │
[00:17:14]                   │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:14]                   │ debg ... sleep(700) start
[00:17:14]                   │ debg ... sleep(700) end
[00:17:14]                   │ debg returned from get, calling refresh
[00:17:14]                   │ERROR browser[SEVERE] http://localhost:61191/38561/bundles/plugin/newsfeed/newsfeed.plugin.js 0:18917 TypeError: Failed to fetch
[00:17:14]                   │          at fetch_Fetch.fetchResponse (http://localhost:61191/38561/bundles/core/core.entry.js:6:32877)
[00:17:14]                   │          at async interceptResponse (http://localhost:61191/38561/bundles/core/core.entry.js:6:28637)
[00:17:14]                   │          at async http://localhost:61191/38561/bundles/core/core.entry.js:6:31117
[00:17:14]                   │ debg currentUrl = http://localhost:61191/app/management
[00:17:14]                   │          appUrl = http://localhost:61191/app/management
[00:17:14]                   │ debg TestSubjects.find(kibanaChrome)
[00:17:14]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:17:16]                   │ debg browser[INFO] http://localhost:61191/app/management?_t=1612824475463 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:17:16]                   │
[00:17:16]                   │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:16]                   │ debg ... sleep(501) start
[00:17:16]                   │ debg ... sleep(501) end
[00:17:16]                   │ debg in navigateTo url = http://localhost:61191/app/management
[00:17:16]                   │ debg TestSubjects.exists(statusPageContainer)
[00:17:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:17:19]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:17:19]                   │ debg Find.allByCssSelector('.mgtSideBarNav > .euiSideNav__content > .euiSideNavItem') with timeout=10000
[00:17:19]                   │ info Taking screenshot "/dev/shm/workspace/parallel/19/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:17:19]                   │ info Current URL is: http://localhost:61191/app/management
[00:17:19]                   │ info Saving page source to: /dev/shm/workspace/parallel/19/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:17:19]                   └- ✖ fail: transform feature controls security global all privileges (aka kibana_admin) should not render the "Stack" section
[00:17:19]                   │       Error: expected [ 'ingest', 'insightsAndAlerting', 'kibana' ] to sort of equal [ 'insightsAndAlerting', 'kibana' ]
[00:17:19]                   │       + expected - actual
[00:17:19]                   │ 
[00:17:19]                   │        [
[00:17:19]                   │       -  "ingest"
[00:17:19]                   │          "insightsAndAlerting"
[00:17:19]                   │          "kibana"
[00:17:19]                   │        ]
[00:17:19]                   │       
[00:17:19]                   │       at Assertion.assert (/dev/shm/workspace/parallel/19/kibana/packages/kbn-expect/expect.js:100:11)
[00:17:19]                   │       at Assertion.eql (/dev/shm/workspace/parallel/19/kibana/packages/kbn-expect/expect.js:244:8)
[00:17:19]                   │       at Context.<anonymous> (test/functional/apps/transform/feature_controls/transform_security.ts:45:29)
[00:17:19]                   │       at runMicrotasks (<anonymous>)
[00:17:19]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:17:19]                   │       at Object.apply (/dev/shm/workspace/parallel/19/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:17:19]                   │ 
[00:17:19]                   │ 

Stack Trace

Error: expected [ 'ingest', 'insightsAndAlerting', 'kibana' ] to sort of equal [ 'insightsAndAlerting', 'kibana' ]
    at Assertion.assert (/dev/shm/workspace/parallel/19/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/19/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/19/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
triggersActionsUi 1.4MB 1.4MB +254.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 145.9KB 146.8KB +894.0B

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

@cnasikas cnasikas merged commit 82c79ef into elastic:7.x Feb 9, 2021
@cnasikas cnasikas deleted the backport/7.x/pr-90548 branch February 9, 2021 07:06
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