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] fix training quick filters (#96500) #96829

Merged
merged 2 commits into from
Apr 12, 2021

Conversation

alvarezmelissa87
Copy link
Contributor

Backports the following commits to 7.x:

@alvarezmelissa87 alvarezmelissa87 enabled auto-merge (squash) April 12, 2021 16:32
@alvarezmelissa87 alvarezmelissa87 added :ml Feature:Data Frame Analytics ML data frame analytics features labels Apr 12, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@alvarezmelissa87
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 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:04]               │ info [empty_kibana] Loading "mappings.json"
[00:00:04]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] [.kibana_7.13.0_001/DDSYu4eiRfykXE22tlfj4A] deleting index
[00:00:04]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] [.kibana_task_manager_7.13.0_001/UHa88CACQrWXtPCu5StDaQ] deleting index
[00:00:04]               │ info [empty_kibana] Deleted existing index ".kibana_task_manager_7.13.0_001"
[00:00:04]               │ info [empty_kibana] Deleted existing index ".kibana_7.13.0_001"
[00:00:04]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:04]               │ info [empty_kibana] Created index ".kibana"
[00:00:04]               │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:04]               │ debg Migrating saved objects
[00:00:07]               │ proc [kibana]   log   [18:35:28.897] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:00:07]               │ proc [kibana]   log   [18:35:28.910] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:00:07]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] [.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-1618250021540925290] 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-1618250021540925290] adding block write to indices [[.kibana/5yCmq8-tQayeoBiRhrvbQg]]
[00:00:08]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] completed adding block write to indices [.kibana]
[00:00:08]               │ proc [kibana]   log   [18:35:29.003] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY
[00:00:08]               │ proc [kibana]   log   [18:35:29.026] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:00:08]               │ proc [kibana]   log   [18:35:29.043] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE
[00:00:08]               │ proc [kibana]   log   [18:35:29.044] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 153ms
[00:00:08]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:08]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:00:08]               │ proc [kibana]   log   [18:35:29.120] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:00:08]               │ proc [kibana]   log   [18:35:29.145] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:00:08]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] [.tasks] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:08]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] updating number_of_replicas to [0] for indices [.tasks]
[00:00:08]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] 1867 finished with response BulkByScrollResponse[took=4.9ms,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   [18:35:29.266] [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-1618250021540925290] [.kibana/5yCmq8-tQayeoBiRhrvbQg] deleting index
[00:00:08]               │ proc [kibana]   log   [18:35:29.317] [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-1618250021540925290] adding block write to indices [[.kibana_pre6.5.0_001/HpseMVRkTeOicihatMuA1A]]
[00:00:08]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:00:08]               │ proc [kibana]   log   [18:35:29.366] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:00:08]               │ proc [kibana]   log   [18:35:29.370] [warning][environment] Detected an unhandled Promise rejection.
[00:00:08]               │ proc [kibana] ResponseError: Saved object index alias [.kibana_7.13.0] not found: index_not_found_exception
[00:00:08]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] [.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-1618250021540925290] 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-1618250021540925290] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.13.0_reindex_temp][0]]]).
[00:00:08]               │ proc [kibana]   log   [18:35:29.439] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:00:08]               │ proc [kibana]   log   [18:35:29.449] [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-1618250021540925290] 1910 finished with response BulkByScrollResponse[took=3.5ms,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   [18:35:29.461] [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-1618250021540925290] adding block write to indices [[.kibana_7.13.0_reindex_temp/s5eV5wNYRsW6hIwtLy4K9Q]]
[00:00:08]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] completed adding block write to indices [.kibana_7.13.0_reindex_temp]
[00:00:08]               │ proc [kibana]   log   [18:35:29.505] [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-1618250021540925290] 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-1618250021540925290] [.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-1618250021540925290] 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-1618250021540925290] [.kibana_7.13.0_001/8wlAD5nDSfuIl3QrjX472w] create_mapping [_doc]
[00:00:08]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.13.0_001][0]]]).
[00:00:08]               │ proc [kibana]   log   [18:35:29.638] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:00:08]               │ proc [kibana]   log   [18:35:29.652] [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-1618250021540925290] [.kibana_7.13.0_001/8wlAD5nDSfuIl3QrjX472w] update_mapping [_doc]
[00:00:08]               │ proc [kibana]   log   [18:35:29.726] [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-1618250021540925290] 1946 finished with response BulkByScrollResponse[took=2.8ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:08]               │ proc [kibana]   log   [18:35:29.732] [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-1618250021540925290] [.kibana_7.13.0_reindex_temp/s5eV5wNYRsW6hIwtLy4K9Q] deleting index
[00:00:08]               │ proc [kibana]   log   [18:35:29.776] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:00:08]               │ proc [kibana]   log   [18:35:29.777] [info][savedobjects-service] [.kibana] Migration completed after 889ms
[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:12]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1618250021540925290] [.kibana_7.13.0_001/8wlAD5nDSfuIl3QrjX472w] update_mapping [_doc]
[00:00:14]               │ debg SecurityPage.forceLogout
[00:00:14]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:00:14]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:15]               │ debg Redirecting to /logout to force the logout
[00:00:23]               │ debg Waiting on the login form to appear
[00:00:23]               │ debg Waiting for Login Page to appear.
[00:00:23]               │ debg Waiting up to 100000ms for login page...
[00:00:23]               │ debg browser[INFO] http://localhost:61151/logout?_t=1618252536297 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:23]               │
[00:00:23]               │ debg browser[INFO] http://localhost:61151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:23]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:25]               │ debg --- retry.tryForTime error: .login-form is not displayed
[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:35]               │ERROR browser[SEVERE] http://localhost:61151/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:35]               │ debg browser[INFO] http://localhost:61151/40201/bundles/core/core.entry.js 12:151032 "Detected an unhandled Promise rejection.
[00:00:35]               │      Error: Unauthorized"
[00:00:35]               │ERROR browser[SEVERE] http://localhost:61151/40201/bundles/core/core.entry.js 5:2514 
[00:00:35]               │ERROR browser[SEVERE] http://localhost:61151/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:35]               │ debg browser[INFO] http://localhost:61151/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:35]               │
[00:00:35]               │ debg browser[INFO] http://localhost:61151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:35]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:36]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:39]               │ERROR browser[SEVERE] http://localhost:61151/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:39]               │ debg browser[INFO] http://localhost:61151/40201/bundles/core/core.entry.js 12:151032 "Detected an unhandled Promise rejection.
[00:00:39]               │      Error: Unauthorized"
[00:00:39]               │ERROR browser[SEVERE] http://localhost:61151/40201/bundles/core/core.entry.js 5:2514 
[00:00:39]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:40]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:42]               │ERROR browser[SEVERE] http://localhost:61151/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:42]             └-> login page meets a11y requirements
[00:00:42]               └-> "before each" hook: global before each for "login page meets a11y requirements"
[00:00:42]               │ debg navigating to login url: http://localhost:61151/login
[00:00:42]               │ debg navigate to: http://localhost:61151/login
[00:00:42]               │ debg browser[INFO] http://localhost:61151/login?_t=1618252563161 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:42]               │
[00:00:42]               │ debg browser[INFO] http://localhost:61151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:42]               │ debg ... sleep(700) start
[00:00:43]               │ debg ... sleep(700) end
[00:00:43]               │ debg returned from get, calling refresh
[00:00:44]               │ debg browser[INFO] http://localhost:61151/login?_t=1618252563161 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:44]               │
[00:00:44]               │ debg browser[INFO] http://localhost:61151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:44]               │ debg currentUrl = http://localhost:61151/login
[00:00:44]               │          appUrl = http://localhost:61151/login
[00:00:44]               │ debg TestSubjects.find(kibanaChrome)
[00:00:44]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:44]               │ debg ... sleep(501) start
[00:00:45]               │ERROR browser[SEVERE] http://localhost:61151/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:61151/40201/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:61151/40201/bundles/core/core.entry.js 5:2514 
[00:00:45]               │ERROR browser[SEVERE] http://localhost:61151/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:45]               │ debg ... sleep(501) end
[00:00:45]               │ debg in navigateTo url = http://localhost:61151/login
[00:00:45]               │ debg TestSubjects.exists(statusPageContainer)
[00:00:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:48]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:48]               │ debg Waiting up to 20000ms for login page visible...
[00:00:48]               │ debg TestSubjects.exists(loginSubmit)
[00:00:48]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginSubmit"]') with timeout=2500
[00:00:49]               └- ✓ pass  (7.0s) "Security Login Page login page meets a11y requirements"
[00:00:49]             └-> "after each" hook for "login page meets a11y requirements"
[00:00:49]               │ debg SecurityPage.forceLogout
[00:00:49]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:00:49]               │ debg Already on the login page, not forcing anything
[00:00:49]             └-> User can login with a11y requirements
[00:00:49]               └-> "before each" hook: global before each for "User can login with a11y requirements"
[00:00:49]               │ debg TestSubjects.exists(loginForm)
[00:00:49]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:00:49]               │ debg Waiting for Login Form to appear.
[00:00:49]               │ debg Waiting up to 100000ms for login form...
[00:00:49]               │ debg TestSubjects.exists(loginForm)
[00:00:49]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:00:49]               │ debg TestSubjects.setValue(loginUsername, elastic)
[00:00:49]               │ debg TestSubjects.click(loginUsername)
[00:00:49]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:49]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:49]               │ debg TestSubjects.setValue(loginPassword, changeme)
[00:00:49]               │ debg TestSubjects.click(loginPassword)
[00:00:49]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:49]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:49]               │ debg TestSubjects.click(loginSubmit)
[00:00:49]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:49]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:49]               │ debg Waiting for login result, expected: undefined.
[00:00:49]               │ debg Waiting up to 20000ms for logout button visible...
[00:00:49]               │ debg TestSubjects.exists(userMenuButton)
[00:00:49]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:00:50]               │ proc [kibana]   log   [18:36:11.602] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:00:55]               │ debg browser[INFO] http://localhost:61151/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:55]               │
[00:00:55]               │ debg browser[INFO] http://localhost:61151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:55]               │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:00:56]               │ debg TestSubjects.exists(userMenuButton)
[00:00:56]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[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:12]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:15]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:18]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:21]               │ debg --- retry.tryForTime failed again with the same message...
[00:01:24]               │ 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:28]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:31]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:34]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:37]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:40]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:43]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:46]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:49]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:52]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:55]               │ debg --- retry.tryForTime failed again with the same message...
[00:02:58]               │ 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:08]               │ 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/15/kibana/test/functional/services/common/test_subjects.ts:51:15)
[00:03:08]               │          at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:48:9
[00:03:08]               │          at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:08]               │          at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:08]               │          at Retry.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:32:14)
[00:03:08]               │          at UserMenu._ensureMenuOpen (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:46:7)
[00:03:08]               │          at UserMenu.logoutLinkExists (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:28:7)
[00:03:08]               │          at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:216:64
[00:03:08]               │          at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:08]               │          at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:08]               │          at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:03:08]               │          at Retry.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:60:7)
[00:03:08]               │          at SecurityPage.login (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:216:7)
[00:03:08]               │          at Context.<anonymous> (/dev/shm/workspace/parallel/15/kibana/x-pack/test/accessibility/apps/login_page.ts:43:9)
[00:03:08]               │          at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:09]               │ info Taking screenshot "/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/screenshots/failure/Security Login Page User can login with a11y requirements.png"
[00:03:09]               │ info Current URL is: http://localhost:61151/app/home#/
[00:03:09]               │ info Saving page source to: /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/failure_debug/html/Security Login Page User can login with a11y requirements.html
[00:03:09]               └- ✖ fail: Security Login Page User can login with a11y requirements
[00:03:09]               │      timed out waiting for logout button visible -- last error: Error: retry.try timeout: Error: expected testSubject(userMenu) to exist
[00:03:09]               │     at TestSubjects.existOrFail (/dev/shm/workspace/parallel/15/kibana/test/functional/services/common/test_subjects.ts:51:15)
[00:03:09]               │     at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:48:9
[00:03:09]               │     at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:09]               │     at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:09]               │     at Retry.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:32:14)
[00:03:09]               │     at UserMenu._ensureMenuOpen (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:46:7)
[00:03:09]               │     at UserMenu.logoutLinkExists (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:28:7)
[00:03:09]               │     at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:216:64
[00:03:09]               │     at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:09]               │     at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:09]               │     at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:03:09]               │     at Retry.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:60:7)
[00:03:09]               │     at SecurityPage.login (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:216:7)
[00:03:09]               │     at Context.<anonymous> (/dev/shm/workspace/parallel/15/kibana/x-pack/test/accessibility/apps/login_page.ts:43:9)
[00:03:09]               │     at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:09]               │     at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:03:09]               │     at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:03:09]               │     at Retry.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:32:14)
[00:03:09]               │     at UserMenu._ensureMenuOpen (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:46:7)
[00:03:09]               │     at UserMenu.logoutLinkExists (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:28:7)
[00:03:09]               │     at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:216:64
[00:03:09]               │     at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:09]               │     at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:09]               │     at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:03:09]               │     at Retry.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:60:7)
[00:03:09]               │     at SecurityPage.login (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:216:7)
[00:03:09]               │     at Context.<anonymous> (/dev/shm/workspace/parallel/15/kibana/x-pack/test/accessibility/apps/login_page.ts:43:9)
[00:03:09]               │     at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:09]               │   Error: timed out waiting for logout button visible -- last error: Error: retry.try timeout: Error: expected testSubject(userMenu) to exist
[00:03:09]               │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/15/kibana/test/functional/services/common/test_subjects.ts:51:15)
[00:03:09]               │       at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:48:9
[00:03:09]               │       at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:09]               │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:09]               │       at Retry.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:32:14)
[00:03:09]               │       at UserMenu._ensureMenuOpen (test/functional/services/user_menu.js:46:7)
[00:03:09]               │       at UserMenu.logoutLinkExists (test/functional/services/user_menu.js:28:7)
[00:03:09]               │       at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:216:64
[00:03:09]               │       at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:09]               │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:09]               │       at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:03:09]               │       at Retry.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:60:7)
[00:03:09]               │       at SecurityPage.login (test/functional/page_objects/security_page.ts:216:7)
[00:03:09]               │       at Context.<anonymous> (test/accessibility/apps/login_page.ts:43:9)
[00:03:09]               │       at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:09]               │       at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:03:09]               │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:03:09]               │       at Retry.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:32:14)
[00:03:09]               │       at UserMenu._ensureMenuOpen (test/functional/services/user_menu.js:46:7)
[00:03:09]               │       at UserMenu.logoutLinkExists (test/functional/services/user_menu.js:28:7)
[00:03:09]               │       at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:216:64
[00:03:09]               │       at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:09]               │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:09]               │       at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:03:09]               │       at Retry.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:60:7)
[00:03:09]               │       at SecurityPage.login (test/functional/page_objects/security_page.ts:216:7)
[00:03:09]               │       at Context.<anonymous> (test/accessibility/apps/login_page.ts:43:9)
[00:03:09]               │       at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:09]               │       at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
[00:03:09]               │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:03:09]               │       at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:03:09]               │       at Retry.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:60:7)
[00:03:09]               │       at SecurityPage.login (test/functional/page_objects/security_page.ts:216:7)
[00:03:09]               │       at Context.<anonymous> (test/accessibility/apps/login_page.ts:43:9)
[00:03:09]               │       at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:09]               │ 
[00:03:09]               │ 

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/15/kibana/test/functional/services/common/test_subjects.ts:51:15)
    at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:48:9
    at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at Retry.try (/dev/shm/workspace/parallel/15/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/15/kibana/x-pack/test/functional/page_objects/security_page.ts:216:64
    at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at Retry.waitFor (/dev/shm/workspace/parallel/15/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/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (/dev/shm/workspace/parallel/15/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/15/kibana/x-pack/test/functional/page_objects/security_page.ts:216:64
    at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at Retry.waitFor (/dev/shm/workspace/parallel/15/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/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at Retry.waitFor (/dev/shm/workspace/parallel/15/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/15/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
ml 6.0MB 6.0MB +43.0B

History

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

@alvarezmelissa87 alvarezmelissa87 merged commit ee5cc66 into elastic:7.x Apr 12, 2021
@alvarezmelissa87 alvarezmelissa87 deleted the backport/7.x/pr-96500 branch April 12, 2021 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Feature:Data Frame Analytics ML data frame analytics features :ml
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants