Skip to content

[7.x] [Lens] Make table and metric show on top Chart switcher (#96601)#96775

Merged
kibanamachine merged 1 commit intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-96601
Apr 12, 2021
Merged

[7.x] [Lens] Make table and metric show on top Chart switcher (#96601)#96775
kibanamachine merged 1 commit intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-96601

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Apr 12, 2021
@kibanamachine kibanamachine enabled auto-merge (squash) April 12, 2021 12:27
@kibanamachine
Copy link
Copy Markdown
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack Accessibility Tests.x-pack/test/accessibility/apps/login_page·ts.Security Login Page User can login with a11y requirements

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Security
[00:00:00]           └-> "before all" hook in "Security"
[00:00:00]           └-: Login Page
[00:00:00]             └-> "before all" hook for "login page meets a11y requirements"
[00:00:00]             └-> "before all" hook for "login page meets a11y requirements"
[00:00:00]               │ info [empty_kibana] Loading "mappings.json"
[00:00:06]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] [.kibana_task_manager_7.13.0_001/9tU16gH_S4Cj_ExhRFPwyg] deleting index
[00:00:06]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] [.kibana_7.13.0_001/KTMl6AjBQYKZvL7edNZ8Dg] deleting index
[00:00:06]               │ info [empty_kibana] Deleted existing index ".kibana_task_manager_7.13.0_001"
[00:00:06]               │ info [empty_kibana] Deleted existing index ".kibana_7.13.0_001"
[00:00:06]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:06]               │ proc [kibana]   log   [13:06:17.499] [warning][environment] Detected an unhandled Promise rejection.
[00:00:06]               │ proc [kibana] ResponseError: Saved object index alias [.kibana_7.13.0] not found: index_not_found_exception
[00:00:07]               │ info [empty_kibana] Created index ".kibana"
[00:00:07]               │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:07]               │ debg Migrating saved objects
[00:00:07]               │ proc [kibana]   log   [13:06:18.291] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:00:07]               │ proc [kibana]   log   [13:06:18.300] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:00:07]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] [.kibana_task_manager_7.13.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:07]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] updating number_of_replicas to [0] for indices [.kibana_task_manager_7.13.0_001]
[00:00:07]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] adding block write to indices [[.kibana/XzJdsAGcTs-whrXbQ5ST4A]]
[00:00:07]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] completed adding block write to indices [.kibana]
[00:00:07]               │ proc [kibana]   log   [13:06:18.375] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY
[00:00:07]               │ proc [kibana]   log   [13:06:18.393] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:00:07]               │ proc [kibana]   log   [13:06:18.405] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE
[00:00:07]               │ proc [kibana]   log   [13:06:18.405] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 120ms
[00:00:07]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:07]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:00:07]               │ proc [kibana]   log   [13:06:18.463] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:00:07]               │ proc [kibana]   log   [13:06:18.480] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:00:07]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] [.tasks] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:07]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] updating number_of_replicas to [0] for indices [.tasks]
[00:00:08]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] 1836 finished with response BulkByScrollResponse[took=3.2ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:08]               │ proc [kibana]   log   [13:06:18.597] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:00:08]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] [.kibana/XzJdsAGcTs-whrXbQ5ST4A] deleting index
[00:00:08]               │ proc [kibana]   log   [13:06:18.635] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:00:08]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] adding block write to indices [[.kibana_pre6.5.0_001/LLD1uTYmSwiQCHuzmRgntw]]
[00:00:08]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:00:08]               │ proc [kibana]   log   [13:06:18.680] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:00:08]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] [.kibana_7.13.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:00:08]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] updating number_of_replicas to [0] for indices [.kibana_7.13.0_reindex_temp]
[00:00:08]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.13.0_reindex_temp][0]]]).
[00:00:08]               │ proc [kibana]   log   [13:06:18.738] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:00:08]               │ proc [kibana]   log   [13:06:18.746] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:00:08]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] 1871 finished with response BulkByScrollResponse[took=2.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:00:08]               │ proc [kibana]   log   [13:06:18.752] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:00:08]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] adding block write to indices [[.kibana_7.13.0_reindex_temp/SMbe1lBSTJCBJEHqm63u7Q]]
[00:00:08]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] completed adding block write to indices [.kibana_7.13.0_reindex_temp]
[00:00:08]               │ proc [kibana]   log   [13:06:18.795] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:00:08]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] applying create index request using existing index [.kibana_7.13.0_reindex_temp] metadata
[00:00:08]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] [.kibana_7.13.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:00:08]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] updating number_of_replicas to [0] for indices [.kibana_7.13.0_001]
[00:00:08]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] [.kibana_7.13.0_001/6Tjrq1GmRzG96azNxu-uXg] create_mapping [_doc]
[00:00:08]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.13.0_001][0]]]).
[00:00:08]               │ proc [kibana]   log   [13:06:18.916] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:00:08]               │ proc [kibana]   log   [13:06:18.928] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:00:08]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] [.kibana_7.13.0_001/6Tjrq1GmRzG96azNxu-uXg] update_mapping [_doc]
[00:00:08]               │ proc [kibana]   log   [13:06:18.992] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:00:08]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] 1907 finished with response BulkByScrollResponse[took=2.2ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:08]               │ proc [kibana]   log   [13:06:18.998] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:00:08]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] [.kibana_7.13.0_reindex_temp/SMbe1lBSTJCBJEHqm63u7Q] deleting index
[00:00:08]               │ proc [kibana]   log   [13:06:19.038] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:00:08]               │ proc [kibana]   log   [13:06:19.038] [info][savedobjects-service] [.kibana] Migration completed after 755ms
[00:00:08]               │ debg [empty_kibana] Migrated Kibana index after loading Kibana data
[00:00:08]               │ debg [empty_kibana] Ensured that default space exists in .kibana
[00:00:08]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:00:16]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1618230480288153555] [.kibana_7.13.0_001/6Tjrq1GmRzG96azNxu-uXg] update_mapping [_doc]
[00:00:17]               │ debg SecurityPage.forceLogout
[00:00:17]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:00:17]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:18]               │ debg Redirecting to /logout to force the logout
[00:00:26]               │ debg Waiting on the login form to appear
[00:00:26]               │ debg Waiting for Login Page to appear.
[00:00:26]               │ debg Waiting up to 100000ms for login page...
[00:00:26]               │ debg browser[INFO] http://localhost:61131/logout?_t=1618232788563 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:00:26]               │
[00:00:26]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:26]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:29]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:30]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:32]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:34]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:41]               │ERROR browser[SEVERE] http://localhost:61131/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:41]               │ debg browser[INFO] http://localhost:61131/40176/bundles/core/core.entry.js 12:151032 "Detected an unhandled Promise rejection.
[00:00:41]               │      Error: Unauthorized"
[00:00:41]               │ERROR browser[SEVERE] http://localhost:61131/40176/bundles/core/core.entry.js 5:2514 
[00:00:41]               │ debg browser[INFO] http://localhost:61131/login?next=%2F 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:00:41]               │
[00:00:41]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:41]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:42]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:45]               │ERROR browser[SEVERE] http://localhost:61131/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:45]               │ debg browser[INFO] http://localhost:61131/40176/bundles/core/core.entry.js 12:151032 "Detected an unhandled Promise rejection.
[00:00:45]               │      Error: Unauthorized"
[00:00:45]               │ERROR browser[SEVERE] http://localhost:61131/40176/bundles/core/core.entry.js 5:2514 
[00:00:45]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:46]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:47]               │ERROR browser[SEVERE] http://localhost:61131/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:47]             └-> login page meets a11y requirements
[00:00:47]               └-> "before each" hook: global before each for "login page meets a11y requirements"
[00:00:47]               │ debg navigating to login url: http://localhost:61131/login
[00:00:47]               │ debg navigate to: http://localhost:61131/login
[00:00:47]               │ debg browser[INFO] http://localhost:61131/login?_t=1618232817669 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:00:47]               │
[00:00:47]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:47]               │ debg ... sleep(700) start
[00:00:47]               │ERROR browser[SEVERE] http://localhost:61131/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:47]               │ debg browser[INFO] http://localhost:61131/40176/bundles/core/core.entry.js 12:151032 "Detected an unhandled Promise rejection.
[00:00:47]               │      Error: Unauthorized"
[00:00:47]               │ERROR browser[SEVERE] http://localhost:61131/40176/bundles/core/core.entry.js 5:2514 
[00:00:47]               │ERROR browser[SEVERE] http://localhost:61131/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:47]               │ debg ... sleep(700) end
[00:00:47]               │ debg returned from get, calling refresh
[00:00:50]               │ debg browser[INFO] http://localhost:61131/login?_t=1618232817669 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:00:50]               │
[00:00:50]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:50]               │ debg currentUrl = http://localhost:61131/login
[00:00:50]               │          appUrl = http://localhost:61131/login
[00:00:50]               │ debg TestSubjects.find(kibanaChrome)
[00:00:50]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:50]               │ debg ... sleep(501) start
[00:00:50]               │ERROR browser[SEVERE] http://localhost:61131/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:50]               │ debg browser[INFO] http://localhost:61131/40176/bundles/core/core.entry.js 12:151032 "Detected an unhandled Promise rejection.
[00:00:50]               │      Error: Unauthorized"
[00:00:50]               │ERROR browser[SEVERE] http://localhost:61131/40176/bundles/core/core.entry.js 5:2514 
[00:00:50]               │ERROR browser[SEVERE] http://localhost:61131/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:51]               │ debg ... sleep(501) end
[00:00:51]               │ debg in navigateTo url = http://localhost:61131/login
[00:00:51]               │ debg TestSubjects.exists(statusPageContainer)
[00:00:51]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:53]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:54]               │ debg Waiting up to 20000ms for login page visible...
[00:00:54]               │ debg TestSubjects.exists(loginSubmit)
[00:00:54]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginSubmit"]') with timeout=2500
[00:00:55]               └- ✓ pass  (7.9s) "Security Login Page login page meets a11y requirements"
[00:00:55]             └-> "after each" hook for "login page meets a11y requirements"
[00:00:55]               │ debg SecurityPage.forceLogout
[00:00:55]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:00:55]               │ debg Already on the login page, not forcing anything
[00:00:55]             └-> User can login with a11y requirements
[00:00:55]               └-> "before each" hook: global before each for "User can login with a11y requirements"
[00:00:55]               │ debg TestSubjects.exists(loginForm)
[00:00:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:00:55]               │ debg Waiting for Login Form to appear.
[00:00:55]               │ debg Waiting up to 100000ms for login form...
[00:00:55]               │ debg TestSubjects.exists(loginForm)
[00:00:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:00:55]               │ debg TestSubjects.setValue(loginUsername, elastic)
[00:00:55]               │ debg TestSubjects.click(loginUsername)
[00:00:55]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:55]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:55]               │ debg TestSubjects.setValue(loginPassword, changeme)
[00:00:55]               │ debg TestSubjects.click(loginPassword)
[00:00:55]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:55]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:55]               │ debg TestSubjects.click(loginSubmit)
[00:00:55]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:55]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:55]               │ debg Waiting for login result, expected: undefined.
[00:00:55]               │ debg Waiting up to 20000ms for logout button visible...
[00:00:55]               │ debg TestSubjects.exists(userMenuButton)
[00:00:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:00:56]               │ proc [kibana]   log   [13:07:07.420] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:00:58]               │ debg browser[INFO] http://localhost:61131/app/home 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:00:58]               │
[00:00:58]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:58]               │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:00:59]               │ debg TestSubjects.exists(userMenuButton)
[00:00:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:01:02]               │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:01:03]               │ debg TestSubjects.exists(userMenuButton)
[00:01:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:01:03]               │ debg TestSubjects.exists(userMenu)
[00:01:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:01:05]               │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:01:06]               │ debg TestSubjects.click(userMenuButton)
[00:01:06]               │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:01:06]               │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:01:06]               │ debg TestSubjects.exists(userMenu)
[00:01:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:01:08]               │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:01:11]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:14]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:17]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:20]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:23]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:27]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:30]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:33]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:36]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:39]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:42]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:45]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:48]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:51]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:54]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:57]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:00]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:03]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:06]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:09]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:12]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:15]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:18]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:21]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:24]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:27]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:30]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:33]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:36]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:39]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:42]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:45]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:48]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:51]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:54]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:57]               │ debg --- retry.tryForTime failed again with the same message...
[00:03:01]               │ debg --- retry.tryForTime failed again with the same message...
[00:03:04]               │ debg --- retry.tryForTime failed again with the same message...
[00:03:07]               │ debg --- retry.tryForTime failed again with the same message...
[00:03:07]               │ debg --- retry.try error: expected testSubject(userMenu) to exist
[00:03:08]               │ debg --- retry.waitFor error: retry.try timeout: Error: expected testSubject(userMenu) to exist
[00:03:08]               │          at TestSubjects.existOrFail (/dev/shm/workspace/parallel/13/kibana/test/functional/services/common/test_subjects.ts:51:15)
[00:03:08]               │          at /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/services/user_menu.js:48:9
[00:03:08]               │          at runAttempt (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:08]               │          at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:08]               │          at Retry.try (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:32:14)
[00:03:08]               │          at UserMenu._ensureMenuOpen (/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/services/user_menu.js:46:7)
[00:03:08]               │          at UserMenu.logoutLinkExists (/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/services/user_menu.js:28:7)
[00:03:08]               │          at /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/page_objects/security_page.ts:216:64
[00:03:08]               │          at runAttempt (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:08]               │          at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:08]               │          at retryForTruthy (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:03:08]               │          at Retry.waitFor (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:60:7)
[00:03:08]               │          at SecurityPage.login (/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/page_objects/security_page.ts:216:7)
[00:03:08]               │          at Context.<anonymous> (/dev/shm/workspace/parallel/13/kibana/x-pack/test/accessibility/apps/login_page.ts:43:9)
[00:03:08]               │          at Object.apply (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:08]               │ info Taking screenshot "/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/screenshots/failure/Security Login Page User can login with a11y requirements.png"
[00:03:08]               │ info Current URL is: http://localhost:61131/app/home#/
[00:03:08]               │ info Saving page source to: /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/failure_debug/html/Security Login Page User can login with a11y requirements.html
[00:03:08]               └- ✖ fail: Security Login Page User can login with a11y requirements
[00:03:08]               │      timed out waiting for logout button visible -- last error: Error: retry.try timeout: Error: expected testSubject(userMenu) to exist
[00:03:08]               │     at TestSubjects.existOrFail (/dev/shm/workspace/parallel/13/kibana/test/functional/services/common/test_subjects.ts:51:15)
[00:03:08]               │     at /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/services/user_menu.js:48:9
[00:03:08]               │     at runAttempt (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:08]               │     at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:08]               │     at Retry.try (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:32:14)
[00:03:08]               │     at UserMenu._ensureMenuOpen (/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/services/user_menu.js:46:7)
[00:03:08]               │     at UserMenu.logoutLinkExists (/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/services/user_menu.js:28:7)
[00:03:08]               │     at /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/page_objects/security_page.ts:216:64
[00:03:08]               │     at runAttempt (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:08]               │     at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:08]               │     at retryForTruthy (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:03:08]               │     at Retry.waitFor (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:60:7)
[00:03:08]               │     at SecurityPage.login (/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/page_objects/security_page.ts:216:7)
[00:03:08]               │     at Context.<anonymous> (/dev/shm/workspace/parallel/13/kibana/x-pack/test/accessibility/apps/login_page.ts:43:9)
[00:03:08]               │     at Object.apply (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:08]               │     at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:03:08]               │     at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:03:08]               │     at Retry.try (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:32:14)
[00:03:08]               │     at UserMenu._ensureMenuOpen (/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/services/user_menu.js:46:7)
[00:03:08]               │     at UserMenu.logoutLinkExists (/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/services/user_menu.js:28:7)
[00:03:08]               │     at /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/page_objects/security_page.ts:216:64
[00:03:08]               │     at runAttempt (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:08]               │     at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:08]               │     at retryForTruthy (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:03:08]               │     at Retry.waitFor (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:60:7)
[00:03:08]               │     at SecurityPage.login (/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/page_objects/security_page.ts:216:7)
[00:03:08]               │     at Context.<anonymous> (/dev/shm/workspace/parallel/13/kibana/x-pack/test/accessibility/apps/login_page.ts:43:9)
[00:03:08]               │     at Object.apply (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:08]               │   Error: timed out waiting for logout button visible -- last error: Error: retry.try timeout: Error: expected testSubject(userMenu) to exist
[00:03:08]               │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/13/kibana/test/functional/services/common/test_subjects.ts:51:15)
[00:03:08]               │       at /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/services/user_menu.js:48:9
[00:03:08]               │       at runAttempt (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:08]               │       at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:08]               │       at Retry.try (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:32:14)
[00:03:08]               │       at UserMenu._ensureMenuOpen (test/functional/services/user_menu.js:46:7)
[00:03:08]               │       at UserMenu.logoutLinkExists (test/functional/services/user_menu.js:28:7)
[00:03:08]               │       at /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/page_objects/security_page.ts:216:64
[00:03:08]               │       at runAttempt (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:08]               │       at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:08]               │       at retryForTruthy (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:03:08]               │       at Retry.waitFor (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:60:7)
[00:03:08]               │       at SecurityPage.login (test/functional/page_objects/security_page.ts:216:7)
[00:03:08]               │       at Context.<anonymous> (test/accessibility/apps/login_page.ts:43:9)
[00:03:08]               │       at Object.apply (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:08]               │       at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:03:08]               │       at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:03:08]               │       at Retry.try (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:32:14)
[00:03:08]               │       at UserMenu._ensureMenuOpen (test/functional/services/user_menu.js:46:7)
[00:03:08]               │       at UserMenu.logoutLinkExists (test/functional/services/user_menu.js:28:7)
[00:03:08]               │       at /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/page_objects/security_page.ts:216:64
[00:03:08]               │       at runAttempt (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:08]               │       at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:08]               │       at retryForTruthy (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:03:08]               │       at Retry.waitFor (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:60:7)
[00:03:08]               │       at SecurityPage.login (test/functional/page_objects/security_page.ts:216:7)
[00:03:08]               │       at Context.<anonymous> (test/accessibility/apps/login_page.ts:43:9)
[00:03:08]               │       at Object.apply (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:08]               │       at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
[00:03:08]               │       at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:03:08]               │       at retryForTruthy (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:03:08]               │       at Retry.waitFor (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:60:7)
[00:03:08]               │       at SecurityPage.login (test/functional/page_objects/security_page.ts:216:7)
[00:03:08]               │       at Context.<anonymous> (test/accessibility/apps/login_page.ts:43:9)
[00:03:08]               │       at Object.apply (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:08]               │ 
[00:03:08]               │ 

Stack Trace

Error: timed out waiting for logout button visible -- last error: Error: retry.try timeout: Error: expected testSubject(userMenu) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/13/kibana/test/functional/services/common/test_subjects.ts:51:15)
    at /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/services/user_menu.js:48:9
    at runAttempt (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at Retry.try (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:32:14)
    at UserMenu._ensureMenuOpen (test/functional/services/user_menu.js:46:7)
    at UserMenu.logoutLinkExists (test/functional/services/user_menu.js:28:7)
    at /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/page_objects/security_page.ts:216:64
    at runAttempt (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at retryForTruthy (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at Retry.waitFor (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:60:7)
    at SecurityPage.login (test/functional/page_objects/security_page.ts:216:7)
    at Context.<anonymous> (test/accessibility/apps/login_page.ts:43:9)
    at Object.apply (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:32:14)
    at UserMenu._ensureMenuOpen (test/functional/services/user_menu.js:46:7)
    at UserMenu.logoutLinkExists (test/functional/services/user_menu.js:28:7)
    at /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/page_objects/security_page.ts:216:64
    at runAttempt (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at retryForTruthy (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at Retry.waitFor (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:60:7)
    at SecurityPage.login (test/functional/page_objects/security_page.ts:216:7)
    at Context.<anonymous> (test/accessibility/apps/login_page.ts:43:9)
    at Object.apply (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
    at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at retryForTruthy (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at Retry.waitFor (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:60:7)
    at SecurityPage.login (test/functional/page_objects/security_page.ts:216:7)
    at Context.<anonymous> (test/accessibility/apps/login_page.ts:43:9)
    at Object.apply (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

Async chunks

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

id before after diff
lens 941.6KB 941.9KB +237.0B

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

cc @dej611

@kibanamachine kibanamachine merged commit 5264f10 into elastic:7.x Apr 12, 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