Skip to content

Conversation

@cuff-links
Copy link
Contributor

Backports the following commits to 7.x:

…xist to fix test flakiness (elastic#90543)

* Changed the retry to a wait for condition which will keep trying for 20 seconds to see the container. Also changed the data test subject as there was another grokDebugger test subject just in  case there was a clash.

* Added .only to be able to run the test repeatedly because group 13 is not in the flaky test runner.

* Added to group 11 because 13 is not in flaky test runner. Will revert after passing.

* Reverted change back to group 13 and removed the comment for the flaky test being skipped.

Co-authored-by: Kibana Machine <[email protected]>
@cuff-links cuff-links added the backport This PR is a backport of another PR label Feb 9, 2021
@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:20:07]         └-: transform
[00:20:07]           └-> "before all" hook in "transform"
[00:20:07]           └-> "before all" hook in "transform"
[00:20:07]             │ debg creating role transform_source
[00:20:07]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] added role [transform_source]
[00:20:07]             │ debg creating role transform_dest
[00:20:07]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] added role [transform_dest]
[00:20:07]             │ debg creating role transform_dest_readonly
[00:20:07]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] added role [transform_dest_readonly]
[00:20:07]             │ debg creating role transform_ui_extras
[00:20:07]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] added role [transform_ui_extras]
[00:20:07]             │ debg creating user transform_poweruser
[00:20:08]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] added user [transform_poweruser]
[00:20:08]             │ debg created user transform_poweruser
[00:20:08]             │ debg creating user transform_viewer
[00:20:08]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] added user [transform_viewer]
[00:20:08]             │ debg created user transform_viewer
[00:25:29]           └-: feature controls
[00:25:29]             └-> "before all" hook in "feature controls"
[00:25:29]             └-: security
[00:25:29]               └-> "before all" hook in "security"
[00:25:29]               └-> "before all" hook in "security"
[00:25:29]                 │ info [empty_kibana] Loading "mappings.json"
[00:25:29]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] [.kibana_1/KlmjzAA1QKK9PYHUV2VvTg] deleting index
[00:25:29]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] [.kibana_2/SaIhZcRiR_qznsdu3_CmZA] deleting index
[00:25:29]                 │ info [empty_kibana] Deleted existing index ".kibana_2"
[00:25:29]                 │ info [empty_kibana] Deleted existing index ".kibana_1"
[00:25:29]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:25:29]                 │ info [empty_kibana] Created index ".kibana"
[00:25:29]                 │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:25:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] [.kibana/3SyDFloxQCeNrE1lgTYY3A] update_mapping [_doc]
[00:25:29]                 │ debg Migrating saved objects
[00:25:29]                 │ proc [kibana]   log   [09:35:06.453] [info][savedobjects-service] Creating index .kibana_2.
[00:25:29]                 │ proc [kibana]   log   [09:35:06.455] [info][savedobjects-service] Creating index .kibana_task_manager_3.
[00:25:29]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] [.kibana_task_manager_3] creating index, cause [api], templates [], shards [1]/[1]
[00:25:29]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] updating number_of_replicas to [0] for indices [.kibana_task_manager_3]
[00:25:29]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:25:29]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] updating number_of_replicas to [0] for indices [.kibana_2]
[00:25:29]                 │ proc [kibana]   log   [09:35:06.571] [info][savedobjects-service] Migrating .kibana_task_manager_2 saved objects to .kibana_task_manager_3
[00:25:29]                 │ proc [kibana]   log   [09:35:06.592] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:25:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] [.kibana_task_manager_3/RxqhAkaGQjGYqLyxCqpNjA] update_mapping [_doc]
[00:25:29]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:25:29]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] updating number_of_replicas to [0] for indices [.kibana_1]
[00:25:29]                 │ proc [kibana]   log   [09:35:06.662] [info][savedobjects-service] Pointing alias .kibana_task_manager to .kibana_task_manager_3.
[00:25:29]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] 30087 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:25:29]                 │ proc [kibana]   log   [09:35:06.707] [info][savedobjects-service] Finished in 252ms.
[00:25:29]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] [.kibana/3SyDFloxQCeNrE1lgTYY3A] deleting index
[00:25:29]                 │ proc [kibana]   log   [09:35:06.976] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:25:29]                 │ proc [kibana]   log   [09:35:06.981] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:25:29]                 │ proc [kibana]   log   [09:35:07.010] [info][savedobjects-service] Finished in 559ms.
[00:25:29]                 │ debg [empty_kibana] Migrated Kibana index after loading Kibana data
[00:25:29]                 │ debg [empty_kibana] Ensured that default space exists in .kibana
[00:25:29]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:25:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] [.kibana_2/S_s-VAC0Td27zFCPtA63Sg] update_mapping [_doc]
[00:25:31]                 │ debg SecurityPage.forceLogout
[00:25:31]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:25:31]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:25:32]                 │ debg Redirecting to /logout to force the logout
[00:25:32]                 │ debg Waiting on the login form to appear
[00:25:32]                 │ debg Waiting for Login Page to appear.
[00:25:32]                 │ debg Waiting up to 100000ms for login page...
[00:25:32]                 │ debg browser[INFO] http://localhost:6141/logout?_t=1612863309187 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:32]                 │
[00:25:32]                 │ debg browser[INFO] http://localhost:6141/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:32]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:25:34]                 │ERROR browser[SEVERE] http://localhost:6141/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:25:34]                 │ debg browser[INFO] http://localhost:6141/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:34]                 │
[00:25:34]                 │ debg browser[INFO] http://localhost:6141/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:34]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:25:34]                 │ERROR browser[SEVERE] http://localhost:6141/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:25:34]                 │ERROR browser[SEVERE] http://localhost:6141/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:25:34]                 │ debg browser[INFO] http://localhost:6141/38575/bundles/core/core.entry.js 12:159412 "Detected an unhandled Promise rejection.
[00:25:34]                 │      Error: Unauthorized"
[00:25:34]                 │ERROR browser[SEVERE] http://localhost:6141/38575/bundles/core/core.entry.js 5:3002 
[00:25:34]                 │ERROR browser[SEVERE] http://localhost:6141/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:25:35]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:25:35]                 │ debg navigating to home url: http://localhost:6141/app/home#/
[00:25:35]                 │ debg navigate to: http://localhost:6141/app/home#/
[00:25:35]                 │ debg browser[INFO] http://localhost:6141/login?next=%2Fapp%2Fhome%3F_t%3D1612863312999#/ 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:35]                 │
[00:25:35]                 │ debg browser[INFO] http://localhost:6141/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:35]                 │ debg ... sleep(700) start
[00:25:36]                 │ debg ... sleep(700) end
[00:25:36]                 │ debg returned from get, calling refresh
[00:25:37]                 │ERROR browser[SEVERE] http://localhost:6141/38575/bundles/core/core.entry.js 12:158464 TypeError: Failed to fetch
[00:25:37]                 │          at fetch_Fetch.fetchResponse (http://localhost:6141/38575/bundles/core/core.entry.js:6:32451)
[00:25:37]                 │          at async interceptResponse (http://localhost:6141/38575/bundles/core/core.entry.js:6:28637)
[00:25:37]                 │          at async http://localhost:6141/38575/bundles/core/core.entry.js:6:31117
[00:25:37]                 │ debg browser[INFO] http://localhost:6141/login?next=%2Fapp%2Fhome%3F_t%3D1612863312999#/ 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:37]                 │
[00:25:37]                 │ debg browser[INFO] http://localhost:6141/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:37]                 │ debg currentUrl = http://localhost:6141/login?next=%2Fapp%2Fhome%3F_t%3D1612863312999#/
[00:25:37]                 │          appUrl = http://localhost:6141/app/home#/
[00:25:37]                 │ debg TestSubjects.find(kibanaChrome)
[00:25:37]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:25:37]                 │ debg Found login page
[00:25:37]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:25:37]                 │ debg TestSubjects.click(loginUsername)
[00:25:37]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:25:37]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:25:37]                 │ERROR browser[SEVERE] http://localhost:6141/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:25:37]                 │ debg browser[INFO] http://localhost:6141/38575/bundles/core/core.entry.js 12:159412 "Detected an unhandled Promise rejection.
[00:25:37]                 │      Error: Unauthorized"
[00:25:37]                 │ERROR browser[SEVERE] http://localhost:6141/38575/bundles/core/core.entry.js 5:3002 
[00:25:37]                 │ERROR browser[SEVERE] http://localhost:6141/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:25:37]                 │ERROR browser[SEVERE] http://localhost:6141/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:25:38]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:25:38]                 │ debg TestSubjects.click(loginPassword)
[00:25:38]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:25:38]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:25:38]                 │ debg TestSubjects.click(loginSubmit)
[00:25:38]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:25:38]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:25:38]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:25:38]                 │ proc [kibana]   log   [09:35:15.475] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:25:38]                 │ debg browser[INFO] http://localhost:6141/app/home?_t=1612863312999#/ 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:38]                 │
[00:25:38]                 │ debg browser[INFO] http://localhost:6141/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:38]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:25:40]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:25:40]                 │ debg browser[INFO] http://localhost:6141/app/home?_t=1612863317309#/ 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:40]                 │
[00:25:40]                 │ debg browser[INFO] http://localhost:6141/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:40]                 │ debg Finished login process currentUrl = http://localhost:6141/app/home#/
[00:25:40]                 │ debg ... sleep(501) start
[00:25:41]                 │ debg ... sleep(501) end
[00:25:41]                 │ debg in navigateTo url = http://localhost:6141/app/home#/
[00:25:41]                 │ debg TestSubjects.exists(statusPageContainer)
[00:25:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:25:43]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:25:44]               └-: global all privileges (aka kibana_admin)
[00:25:44]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:25:44]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:25:44]                   │ debg set roles = kibana_admin
[00:25:44]                   │ debg creating user test_user
[00:25:44]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612859206780190799] updated user [test_user]
[00:25:44]                   │ debg created user test_user
[00:25:44]                   │ debg TestSubjects.exists(kibanaChrome)
[00:25:44]                   │ debg Find.existsByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=2500
[00:25:45]                   │ debg TestSubjects.find(kibanaChrome)
[00:25:45]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=100000
[00:25:45]                   │ debg browser[INFO] http://localhost:6141/app/home?_t=1612863317309#/ 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:45]                   │
[00:25:45]                   │ debg browser[INFO] http://localhost:6141/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:45]                 └-> should show the Stack Management nav link
[00:25:45]                   └-> "before each" hook: global before each for "should show the Stack Management nav link"
[00:25:45]                   │ debg isGlobalLoadingIndicatorVisible
[00:25:45]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:25:45]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:25:47]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:25:47]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:25:47]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:25:47]                   │ debg TestSubjects.exists(collapsibleNav)
[00:25:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:25:50]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:25:50]                   │ debg TestSubjects.click(toggleNavButton)
[00:25:50]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:25:50]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:25:51]                   │ debg TestSubjects.find(collapsibleNav)
[00:25:51]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:25:51]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:25:51]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:25:51]                   │ debg Find.clickByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:25:51]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:25:51]                   └- ✓ pass  (5.6s) "transform feature controls security global all privileges (aka kibana_admin) should show the Stack Management nav link"
[00:25:51]                 └-> should not render the "Stack" section
[00:25:51]                   └-> "before each" hook: global before each for "should not render the "Stack" section"
[00:25:51]                   │ debg navigating to management url: http://localhost:6141/app/management
[00:25:51]                   │ debg navigate to: http://localhost:6141/app/management
[00:25:51]                   │ debg browser[INFO] http://localhost:6141/app/management?_t=1612863328486 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:51]                   │
[00:25:51]                   │ debg browser[INFO] http://localhost:6141/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:51]                   │ debg ... sleep(700) start
[00:25:52]                   │ debg ... sleep(700) end
[00:25:52]                   │ debg returned from get, calling refresh
[00:25:52]                   │ debg browser[INFO] http://localhost:6141/app/management?_t=1612863328486 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:52]                   │
[00:25:52]                   │ debg browser[INFO] http://localhost:6141/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:52]                   │ debg currentUrl = http://localhost:6141/app/management
[00:25:52]                   │          appUrl = http://localhost:6141/app/management
[00:25:52]                   │ debg TestSubjects.find(kibanaChrome)
[00:25:52]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:25:53]                   │ debg ... sleep(501) start
[00:25:53]                   │ debg ... sleep(501) end
[00:25:53]                   │ debg in navigateTo url = http://localhost:6141/app/management
[00:25:53]                   │ debg TestSubjects.exists(statusPageContainer)
[00:25:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:25:56]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:25:56]                   │ debg Find.allByCssSelector('.mgtSideBarNav > .euiSideNav__content > .euiSideNavItem') with timeout=10000
[00:25:56]                   │ info Taking screenshot "/dev/shm/workspace/parallel/4/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:57]                   │ info Current URL is: http://localhost:6141/app/management
[00:25:57]                   │ info Saving page source to: /dev/shm/workspace/parallel/4/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:57]                   └- ✖ fail: transform feature controls security global all privileges (aka kibana_admin) should not render the "Stack" section
[00:25:57]                   │       Error: expected [ 'ingest', 'insightsAndAlerting', 'kibana' ] to sort of equal [ 'insightsAndAlerting', 'kibana' ]
[00:25:57]                   │       + expected - actual
[00:25:57]                   │ 
[00:25:57]                   │        [
[00:25:57]                   │       -  "ingest"
[00:25:57]                   │          "insightsAndAlerting"
[00:25:57]                   │          "kibana"
[00:25:57]                   │        ]
[00:25:57]                   │       
[00:25:57]                   │       at Assertion.assert (/dev/shm/workspace/parallel/4/kibana/packages/kbn-expect/expect.js:100:11)
[00:25:57]                   │       at Assertion.eql (/dev/shm/workspace/parallel/4/kibana/packages/kbn-expect/expect.js:244:8)
[00:25:57]                   │       at Context.<anonymous> (test/functional/apps/transform/feature_controls/transform_security.ts:45:29)
[00:25:57]                   │       at runMicrotasks (<anonymous>)
[00:25:57]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:25:57]                   │       at Object.apply (/dev/shm/workspace/parallel/4/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:25:57]                   │ 
[00:25:57]                   │ 

Stack Trace

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

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

@cuff-links cuff-links merged commit 118b30b 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

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants