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] [ML] Transforms: Adds a link to discover from the transform list to the actions menu. (#97805) #98491

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

…he actions menu. (elastic#97805)

Adds a link to discover from the transform list to the actions menu. Conditions for the link to be enabled:
- Kibana index pattern must be available
- Transform must have been started once and done some progress so there's the destination index available
@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack Reporting Functional Tests With Deprecated Roles config.x-pack/test/reporting_functional/reporting_and_deprecated_security/security_roles_privileges·ts.Reporting Functional Tests with Deprecated Security configuration enabled Security with `reporting_user` built-in role Dashboard: Generate Screenshot does allow user with reporting_user role

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: Reporting Functional Tests with Deprecated Security configuration enabled
[00:00:00]           └-> "before all" hook in "Reporting Functional Tests with Deprecated Security configuration enabled"
[00:00:00]           └-> "before all" hook in "Reporting Functional Tests with Deprecated Security configuration enabled"
[00:00:00]             │ debg creating role data_analyst
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] added role [data_analyst]
[00:00:00]             │ debg creating user data_analyst
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] added user [data_analyst]
[00:00:00]             │ debg created user data_analyst
[00:00:00]             │ debg creating user reporting_user
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] added user [reporting_user]
[00:00:00]             │ debg created user reporting_user
[00:00:00]           └-: Security with `reporting_user` built-in role
[00:00:00]             └-> "before all" hook in "Security with `reporting_user` built-in role"
[00:00:00]             └-> "before all" hook in "Security with `reporting_user` built-in role"
[00:00:00]               │ info [reporting/ecommerce] Loading "mappings.json"
[00:00:00]               │ info [reporting/ecommerce] Loading "data.json.gz"
[00:00:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [ecommerce] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[ecommerce][0]]]).
[00:00:00]               │ info [reporting/ecommerce] Created index "ecommerce"
[00:00:00]               │ debg [reporting/ecommerce] "ecommerce" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:02]               │ info [reporting/ecommerce] Indexed 4675 docs into "ecommerce"
[00:00:02]               │ info [reporting/ecommerce_kibana] Loading "mappings.json"
[00:00:03]               │ info [reporting/ecommerce_kibana] Loading "data.json"
[00:00:03]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_7.14.0_001/Y2b9BKJRRJaXsDRv94O3xA] deleting index
[00:00:03]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_task_manager_7.14.0_001/ko0fwR_jQ5GWu0gKtPrDjA] deleting index
[00:00:03]               │ info [reporting/ecommerce_kibana] Deleted existing index ".kibana_7.14.0_001"
[00:00:03]               │ info [reporting/ecommerce_kibana] Deleted existing index ".kibana_task_manager_7.14.0_001"
[00:00:03]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:00:03]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:00:03]               │ info [reporting/ecommerce_kibana] Created index ".kibana_1"
[00:00:03]               │ debg [reporting/ecommerce_kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:00:03]               │ info [reporting/ecommerce_kibana] Indexed 13 docs into ".kibana_1"
[00:00:03]               │ debg Migrating saved objects
[00:00:03]               │ proc [kibana]   log   [16:11:52.377] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 5ms.
[00:00:03]               │ proc [kibana]   log   [16:11:52.384] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 14ms.
[00:00:03]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_task_manager_7.14.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:03]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] updating number_of_replicas to [0] for indices [.kibana_task_manager_7.14.0_001]
[00:00:03]               │ proc [kibana]   log   [16:11:52.395] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> SET_SOURCE_WRITE_BLOCK. took: 11ms.
[00:00:03]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] adding block write to indices [[.kibana_1/-a_tTnwWR0mhyH_UK0O-yw]]
[00:00:03]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_task_manager_7.14.0_001][0]]]).
[00:00:03]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] completed adding block write to indices [.kibana_1]
[00:00:03]               │ proc [kibana]   log   [16:11:52.470] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 93ms.
[00:00:03]               │ proc [kibana]   log   [16:11:52.489] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 94ms.
[00:00:03]               │ proc [kibana]   log   [16:11:52.504] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 34ms.
[00:00:03]               │ proc [kibana]   log   [16:11:52.504] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 132ms
[00:00:03]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_7.14.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:00:03]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] updating number_of_replicas to [0] for indices [.kibana_7.14.0_reindex_temp]
[00:00:03]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.14.0_reindex_temp][0]]]).
[00:00:03]               │ proc [kibana]   log   [16:11:52.574] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 85ms.
[00:00:03]               │ proc [kibana]   log   [16:11:52.592] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 18ms.
[00:00:03]               │ proc [kibana]   log   [16:11:52.622] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 30ms.
[00:00:03]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_7.14.0_reindex_temp/Nmn2l24LSSKB21HRa8ONEA] update_mapping [_doc]
[00:00:03]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_7.14.0_reindex_temp/Nmn2l24LSSKB21HRa8ONEA] update_mapping [_doc]
[00:00:03]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_7.14.0_reindex_temp/Nmn2l24LSSKB21HRa8ONEA] update_mapping [_doc]
[00:00:03]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_7.14.0_reindex_temp/Nmn2l24LSSKB21HRa8ONEA] update_mapping [_doc]
[00:00:03]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_7.14.0_reindex_temp/Nmn2l24LSSKB21HRa8ONEA] update_mapping [_doc]
[00:00:03]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_7.14.0_reindex_temp/Nmn2l24LSSKB21HRa8ONEA] update_mapping [_doc]
[00:00:03]               │ proc [kibana]   log   [16:11:52.873] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_READ. took: 251ms.
[00:00:03]               │ proc [kibana]   log   [16:11:52.900] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 27ms.
[00:00:03]               │ proc [kibana]   log   [16:11:52.915] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 15ms.
[00:00:03]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] adding block write to indices [[.kibana_7.14.0_reindex_temp/Nmn2l24LSSKB21HRa8ONEA]]
[00:00:03]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] completed adding block write to indices [.kibana_7.14.0_reindex_temp]
[00:00:03]               │ proc [kibana]   log   [16:11:52.962] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 47ms.
[00:00:03]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] applying create index request using existing index [.kibana_7.14.0_reindex_temp] metadata
[00:00:03]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_7.14.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:00:03]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] updating number_of_replicas to [0] for indices [.kibana_7.14.0_001]
[00:00:03]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_7.14.0_001/umDUB_kET52iwAOrYSWQrQ] create_mapping [_doc]
[00:00:04]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.14.0_001][0]]]).
[00:00:04]               │ proc [kibana]   log   [16:11:53.110] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH. took: 148ms.
[00:00:04]               │ proc [kibana]   log   [16:11:53.138] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS. took: 28ms.
[00:00:04]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_7.14.0_001/umDUB_kET52iwAOrYSWQrQ] update_mapping [_doc]
[00:00:04]               │ proc [kibana]   log   [16:11:53.216] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 78ms.
[00:00:04]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.tasks] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:04]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] updating number_of_replicas to [0] for indices [.tasks]
[00:00:04]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.tasks][0]]]).
[00:00:04]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] 1944 finished with response BulkByScrollResponse[took=55.1ms,timed_out=false,sliceId=null,updated=13,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:04]               │ proc [kibana]   log   [16:11:53.441] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 225ms.
[00:00:04]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.kibana_7.14.0_reindex_temp/Nmn2l24LSSKB21HRa8ONEA] deleting index
[00:00:04]               │ proc [kibana]   log   [16:11:53.492] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 51ms.
[00:00:04]               │ proc [kibana]   log   [16:11:53.493] [info][savedobjects-service] [.kibana] Migration completed after 1123ms
[00:00:04]               │ debg [reporting/ecommerce_kibana] Migrated Kibana index after loading Kibana data
[00:00:04]               │ debg [reporting/ecommerce_kibana] Ensured that default space exists in .kibana
[00:00:04]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:00:55]             └-: Dashboard: Generate Screenshot
[00:00:55]               └-> "before all" hook for "does not allow user that does not have reporting_user role"
[00:00:55]               └-> does not allow user that does not have reporting_user role
[00:00:55]                 └-> "before each" hook: global before each for "does not allow user that does not have reporting_user role"
[00:00:55]                 │ debg SecurityPage.forceLogout
[00:00:55]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:00:55]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:56]                 │ debg Redirecting to /logout to force the logout
[00:00:56]                 │ debg Waiting on the login form to appear
[00:00:56]                 │ debg Waiting for Login Page to appear.
[00:00:56]                 │ debg Waiting up to 100000ms for login page...
[00:00:56]                 │ debg browser[INFO] http://localhost:6131/logout?_t=1619539965279 340 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:56]                 │
[00:00:56]                 │ debg browser[INFO] http://localhost:6131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:56]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:59]                 │ERROR browser[SEVERE] http://localhost:6131/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:00:59]                 │ debg browser[INFO] http://localhost:6131/login?msg=LOGGED_OUT 340 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:59]                 │
[00:00:59]                 │ debg browser[INFO] http://localhost:6131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:59]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:59]                 │ERROR browser[SEVERE] http://localhost:6131/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:59]                 │ERROR browser[SEVERE] http://localhost:6131/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:59]                 │ debg browser[INFO] http://localhost:6131/40702/bundles/core/core.entry.js 12:151721 "Detected an unhandled Promise rejection.
[00:00:59]                 │      Error: Unauthorized"
[00:00:59]                 │ERROR browser[SEVERE] http://localhost:6131/40702/bundles/core/core.entry.js 5:2514 
[00:00:59]                 │ERROR browser[SEVERE] http://localhost:6131/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:59]                 │ERROR browser[SEVERE] http://localhost:6131/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:00]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:01:00]                 │ debg TestSubjects.exists(loginForm)
[00:01:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:01:00]                 │ debg Waiting for Login Form to appear.
[00:01:00]                 │ debg Waiting up to 100000ms for login form...
[00:01:00]                 │ debg TestSubjects.exists(loginForm)
[00:01:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:01:00]                 │ debg TestSubjects.setValue(loginUsername, data_analyst)
[00:01:00]                 │ debg TestSubjects.click(loginUsername)
[00:01:00]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:00]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:00]                 │ debg TestSubjects.setValue(loginPassword, data_analyst-password)
[00:01:00]                 │ debg TestSubjects.click(loginPassword)
[00:01:00]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:00]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:00]                 │ debg TestSubjects.click(loginSubmit)
[00:01:00]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:00]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:00]                 │ debg Waiting for login result, expected: undefined.
[00:01:00]                 │ debg Waiting up to 20000ms for logout button visible...
[00:01:00]                 │ debg TestSubjects.exists(userMenuButton)
[00:01:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:01:00]                 │ proc [kibana]   log   [16:12:49.808] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:01:02]                 │ debg browser[INFO] http://localhost:6131/app/home 340 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:01:02]                 │
[00:01:02]                 │ debg browser[INFO] http://localhost:6131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:02]                 │ debg TestSubjects.exists(userMenu)
[00:01:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:01:05]                 │ERROR browser[SEVERE] http://localhost:6131/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:01:05]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:01:05]                 │ debg TestSubjects.click(userMenuButton)
[00:01:05]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:01:05]                 │ 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:06]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:01:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:01:06]                 │ debg Opening saved dashboard: Ecom Dashboard
[00:01:06]                 │ debg navigating to dashboard url: http://localhost:6131/app/dashboards#/list
[00:01:06]                 │ debg navigate to: http://localhost:6131/app/dashboards#/list
[00:01:06]                 │ debg browser[INFO] http://localhost:6131/app/dashboards?_t=1619539975282#/list 340 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:01:06]                 │
[00:01:06]                 │ debg browser[INFO] http://localhost:6131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:06]                 │ debg ... sleep(700) start
[00:01:07]                 │ debg ... sleep(700) end
[00:01:07]                 │ debg returned from get, calling refresh
[00:01:07]                 │ERROR browser[SEVERE] http://localhost:6131/40702/bundles/core/core.entry.js 12:150793 TypeError: Failed to fetch
[00:01:07]                 │          at fetch_Fetch.fetchResponse (http://localhost:6131/40702/bundles/core/core.entry.js:6:26193)
[00:01:07]                 │          at async http://localhost:6131/40702/bundles/core/core.entry.js:6:24090
[00:01:07]                 │          at async http://localhost:6131/40702/bundles/core/core.entry.js:6:23996
[00:01:07]                 │ debg browser[INFO] http://localhost:6131/app/dashboards?_t=1619539975282#/list 340 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:01:07]                 │
[00:01:07]                 │ debg browser[INFO] http://localhost:6131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:07]                 │ debg currentUrl = http://localhost:6131/app/dashboards#/list
[00:01:07]                 │          appUrl = http://localhost:6131/app/dashboards#/list
[00:01:07]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:07]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:09]                 │ debg ... sleep(501) start
[00:01:09]                 │ERROR browser[SEVERE] http://localhost:6131/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:01:09]                 │ debg ... sleep(501) end
[00:01:09]                 │ debg in navigateTo url = http://localhost:6131/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:01:09]                 │ debg TestSubjects.exists(statusPageContainer)
[00:01:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:12]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:12]                 │ debg Load Saved Dashboard Ecom Dashboard
[00:01:12]                 │ debg gotoDashboardLandingPage
[00:01:12]                 │ debg onDashboardLandingPage
[00:01:12]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:01:12]                 │ debg searchForItemWithName: Ecom Dashboard
[00:01:12]                 │ debg TestSubjects.find(tableListSearchBox)
[00:01:12]                 │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:01:13]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:13]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:14]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:15]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:15]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:15]                 │ debg TestSubjects.click(dashboardListingTitleLink-Ecom-Dashboard)
[00:01:15]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-Ecom-Dashboard"]') with timeout=10000
[00:01:15]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-Ecom-Dashboard"]') with timeout=10000
[00:01:15]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:15]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:15]                 │ debg browser[INFO] http://localhost:6131/app/dashboards#/view/6c263e00-1c6d-11ea-a100-8589bb9d7c6b?_g=(filters:!()) 340 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:01:15]                 │
[00:01:15]                 │ debg browser[INFO] http://localhost:6131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:17]                 │ERROR browser[SEVERE] http://localhost:6131/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:01:17]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:17]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:17]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:17]                 │ debg TestSubjects.missingOrFail(dashboardLandingPage)
[00:01:17]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=10000
[00:01:18]                 │ debg openPdfReportingPanel
[00:01:18]                 │ debg openShareMenuItem title:PDF Reports
[00:01:18]                 │ debg TestSubjects.exists(shareContextMenu)
[00:01:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="shareContextMenu"]') with timeout=2500
[00:01:20]                 │ debg --- retry.tryForTime error: [data-test-subj="shareContextMenu"] is not displayed
[00:01:21]                 │ debg TestSubjects.click(shareTopNavButton)
[00:01:21]                 │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:01:21]                 │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:01:21]                 │ debg Find.findByCssSelector('div.euiContextMenuPanel') with timeout=10000
[00:01:21]                 │ debg TestSubjects.click(sharePanel-PDFReports)
[00:01:21]                 │ debg Find.clickByCssSelector('[data-test-subj="sharePanel-PDFReports"]') with timeout=10000
[00:01:21]                 │ debg Find.findByCssSelector('[data-test-subj="sharePanel-PDFReports"]') with timeout=10000
[00:01:21]                 │ debg Find.waitForElementStale with timeout=10000
[00:01:21]                 │ debg TestSubjects.click(generateReportButton)
[00:01:21]                 │ debg Find.clickByCssSelector('[data-test-subj="generateReportButton"]') with timeout=10000
[00:01:21]                 │ debg Find.findByCssSelector('[data-test-subj="generateReportButton"]') with timeout=10000
[00:01:21]                 │ debg TestSubjects.exists(queueReportError)
[00:01:21]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="queueReportError"]') with timeout=2500
[00:01:21]                 └- ✓ pass  (26.2s) "Reporting Functional Tests with Deprecated Security configuration enabled Security with `reporting_user` built-in role Dashboard: Generate Screenshot does not allow user that does not have reporting_user role"
[00:01:21]               └-> does allow user with reporting_user role
[00:01:21]                 └-> "before each" hook: global before each for "does allow user with reporting_user role"
[00:01:21]                 │ debg SecurityPage.forceLogout
[00:01:21]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:01:21]                 │ERROR browser[SEVERE] http://localhost:6131/api/reporting/generate/printablePdf - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:01:21]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:01:22]                 │ debg Redirecting to /logout to force the logout
[00:01:22]                 │ debg Waiting on the login form to appear
[00:01:22]                 │ debg Waiting for Login Page to appear.
[00:01:22]                 │ debg Waiting up to 100000ms for login page...
[00:01:22]                 │ debg browser[INFO] http://localhost:6131/logout?_t=1619539991444 340 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:01:22]                 │
[00:01:22]                 │ debg browser[INFO] http://localhost:6131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:22]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:01:25]                 │ERROR browser[SEVERE] http://localhost:6131/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:01:25]                 │ debg browser[INFO] http://localhost:6131/login?msg=LOGGED_OUT 340 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:01:25]                 │
[00:01:25]                 │ debg browser[INFO] http://localhost:6131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:25]                 │ERROR browser[SEVERE] http://localhost:6131/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:25]                 │ERROR browser[SEVERE] http://localhost:6131/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:25]                 │ debg browser[INFO] http://localhost:6131/40702/bundles/core/core.entry.js 12:151721 "Detected an unhandled Promise rejection.
[00:01:25]                 │      Error: Unauthorized"
[00:01:25]                 │ERROR browser[SEVERE] http://localhost:6131/40702/bundles/core/core.entry.js 5:2514 
[00:01:25]                 │ERROR browser[SEVERE] http://localhost:6131/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:25]                 │ERROR browser[SEVERE] http://localhost:6131/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:25]                 │ debg TestSubjects.exists(loginForm)
[00:01:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:01:25]                 │ debg Waiting for Login Form to appear.
[00:01:25]                 │ debg Waiting up to 100000ms for login form...
[00:01:25]                 │ debg TestSubjects.exists(loginForm)
[00:01:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:01:25]                 │ debg TestSubjects.setValue(loginUsername, reporting_user)
[00:01:25]                 │ debg TestSubjects.click(loginUsername)
[00:01:25]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:25]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:25]                 │ debg TestSubjects.setValue(loginPassword, reporting_user-password)
[00:01:25]                 │ debg TestSubjects.click(loginPassword)
[00:01:25]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:25]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:25]                 │ debg TestSubjects.click(loginSubmit)
[00:01:25]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:25]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:25]                 │ debg Waiting for login result, expected: undefined.
[00:01:25]                 │ debg Waiting up to 20000ms for logout button visible...
[00:01:25]                 │ debg TestSubjects.exists(userMenuButton)
[00:01:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:01:25]                 │ proc [kibana]   log   [16:13:14.656] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:01:27]                 │ debg browser[INFO] http://localhost:6131/app/home 340 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:01:27]                 │
[00:01:27]                 │ debg browser[INFO] http://localhost:6131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:27]                 │ debg TestSubjects.exists(userMenu)
[00:01:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:01:30]                 │ERROR browser[SEVERE] http://localhost:6131/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:01:30]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:01:30]                 │ debg TestSubjects.click(userMenuButton)
[00:01:30]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:01:30]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:01:31]                 │ debg TestSubjects.exists(userMenu)
[00:01:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:01:31]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:01:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:01:31]                 │ debg Opening saved dashboard: Ecom Dashboard
[00:01:31]                 │ debg navigating to dashboard url: http://localhost:6131/app/dashboards#/list
[00:01:31]                 │ debg navigate to: http://localhost:6131/app/dashboards#/list
[00:01:31]                 │ debg browser[INFO] http://localhost:6131/app/dashboards?_t=1619540000271#/list 340 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:01:31]                 │
[00:01:31]                 │ debg browser[INFO] http://localhost:6131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:31]                 │ debg ... sleep(700) start
[00:01:32]                 │ debg ... sleep(700) end
[00:01:32]                 │ debg returned from get, calling refresh
[00:01:32]                 │ERROR browser[SEVERE] http://localhost:6131/40702/bundles/core/core.entry.js 12:150793 TypeError: Failed to fetch
[00:01:32]                 │          at fetch_Fetch.fetchResponse (http://localhost:6131/40702/bundles/core/core.entry.js:6:26193)
[00:01:32]                 │          at async http://localhost:6131/40702/bundles/core/core.entry.js:6:24090
[00:01:32]                 │          at async http://localhost:6131/40702/bundles/core/core.entry.js:6:23996
[00:01:32]                 │ debg browser[INFO] http://localhost:6131/app/dashboards?_t=1619540000271#/list 340 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:01:32]                 │
[00:01:32]                 │ debg browser[INFO] http://localhost:6131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:32]                 │ debg currentUrl = http://localhost:6131/app/dashboards#/list
[00:01:32]                 │          appUrl = http://localhost:6131/app/dashboards#/list
[00:01:32]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:32]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:33]                 │ debg ... sleep(501) start
[00:01:34]                 │ERROR browser[SEVERE] http://localhost:6131/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:01:34]                 │ debg ... sleep(501) end
[00:01:34]                 │ debg in navigateTo url = http://localhost:6131/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:01:34]                 │ debg TestSubjects.exists(statusPageContainer)
[00:01:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:36]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:37]                 │ debg Load Saved Dashboard Ecom Dashboard
[00:01:37]                 │ debg gotoDashboardLandingPage
[00:01:37]                 │ debg onDashboardLandingPage
[00:01:37]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:01:37]                 │ debg searchForItemWithName: Ecom Dashboard
[00:01:37]                 │ debg TestSubjects.find(tableListSearchBox)
[00:01:37]                 │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:01:37]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:37]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:39]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:39]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:39]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:39]                 │ debg TestSubjects.click(dashboardListingTitleLink-Ecom-Dashboard)
[00:01:39]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-Ecom-Dashboard"]') with timeout=10000
[00:01:39]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-Ecom-Dashboard"]') with timeout=10000
[00:01:40]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:40]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:40]                 │ debg browser[INFO] http://localhost:6131/app/dashboards#/view/6c263e00-1c6d-11ea-a100-8589bb9d7c6b?_g=(filters:!()) 340 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:01:40]                 │
[00:01:40]                 │ debg browser[INFO] http://localhost:6131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:41]                 │ERROR browser[SEVERE] http://localhost:6131/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:01:41]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:42]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:42]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:42]                 │ debg TestSubjects.missingOrFail(dashboardLandingPage)
[00:01:42]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=10000
[00:01:42]                 │ debg openPdfReportingPanel
[00:01:42]                 │ debg openShareMenuItem title:PDF Reports
[00:01:42]                 │ debg TestSubjects.exists(shareContextMenu)
[00:01:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="shareContextMenu"]') with timeout=2500
[00:01:45]                 │ debg --- retry.tryForTime error: [data-test-subj="shareContextMenu"] is not displayed
[00:01:45]                 │ debg TestSubjects.click(shareTopNavButton)
[00:01:45]                 │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:01:45]                 │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:01:46]                 │ debg Find.findByCssSelector('div.euiContextMenuPanel') with timeout=10000
[00:01:46]                 │ debg TestSubjects.click(sharePanel-PDFReports)
[00:01:46]                 │ debg Find.clickByCssSelector('[data-test-subj="sharePanel-PDFReports"]') with timeout=10000
[00:01:46]                 │ debg Find.findByCssSelector('[data-test-subj="sharePanel-PDFReports"]') with timeout=10000
[00:01:46]                 │ debg Find.waitForElementStale with timeout=10000
[00:01:46]                 │ debg TestSubjects.click(generateReportButton)
[00:01:46]                 │ debg Find.clickByCssSelector('[data-test-subj="generateReportButton"]') with timeout=10000
[00:01:46]                 │ debg Find.findByCssSelector('[data-test-subj="generateReportButton"]') with timeout=10000
[00:01:46]                 │ debg Reporting:checkForReportingToasts
[00:01:46]                 │ debg TestSubjects.exists(completeReportSuccess)
[00:01:46]                 │ debg Find.existsByCssSelector('[data-test-subj="completeReportSuccess"]') with timeout=90000
[00:01:46]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] [.reporting-2021-04-25] creating index, cause [api], templates [], shards [1]/[1]
[00:01:46]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] updating number_of_replicas to [0] for indices [.reporting-2021-04-25]
[00:01:46]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619535142458431116] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.reporting-2021-04-25][0]]]).
[00:01:46]                 │ proc [kibana]   log   [16:13:35.452] [info][plugins][queue-job][reporting] Queued PDF report: ko08b5l94qzt7b7ab311xl9u
[00:01:47]                 │ proc [kibana]   log   [16:13:36.895] [info][esqueue][plugins][queue-worker][reporting] ko088qnk4qzt7b7ab36j309c - Job marked as claimed: /.reporting-2021-04-25/_doc/ko08b5l94qzt7b7ab311xl9u
[00:01:47]                 │ proc [kibana]   log   [16:13:36.896] [info][esqueue][plugins][queue-worker][reporting] ko088qnk4qzt7b7ab36j309c - Starting job
[00:01:47]                 │ proc [kibana]   log   [16:13:36.926] [info][browser-driver][execute-job][ko08b5l94qzt7b7ab311xl9u][plugins][printable_pdf][reporting] Creating browser page driver
[00:01:48]                 │ proc [kibana]   log   [16:13:37.088] [info][execute-job][ko08b5l94qzt7b7ab311xl9u][plugins][printable_pdf][reporting] opening url http://localhost:6131/app/dashboards#/view/6c263e00-1c6d-11ea-a100-8589bb9d7c6b?_g=(filters%3A!())&_a=(description%3A''%2Cfilters%3A!()%2CfullScreenMode%3A!f%2Coptions%3A(hidePanelTitles%3A!f%2CuseMargins%3A!t)%2Cpanels%3A!((embeddableConfig%3A(enhancements%3A())%2CgridData%3A(h%3A15%2Ci%3A'1c12c2f2-80c2-4d5c-b722-55b2415006e1'%2Cw%3A24%2Cx%3A0%2Cy%3A0)%2Cid%3A'0a464230-79f0-11ea-ae7f-13c5d6e410a0'%2CpanelIndex%3A'1c12c2f2-80c2-4d5c-b722-55b2415006e1'%2Ctype%3Avisualization%2Cversion%3A'7.14.0-SNAPSHOT')%2C(embeddableConfig%3A(enhancements%3A())%2CgridData%3A(h%3A15%2Ci%3A'1c4b99e1-7785-444f-a1c5-f592893b1a96'%2Cw%3A24%2Cx%3A24%2Cy%3A0)%2Cid%3A'200609c0-79f0-11ea-ae7f-13c5d6e410a0'%2CpanelIndex%3A'1c4b99e1-7785-444f-a1c5-f592893b1a96'%2Ctype%3Avisualization%2Cversion%3A'7.14.0-SNAPSHOT')%2C(embeddableConfig%3A(enhancements%3A())%2CgridData%3A(h%3A18%2Ci%3A'94eab06f-60ac-4a85-b771-3a8ed475c9bb'%2Cw%3A48%2Cx%3A0%2Cy%3A35)%2Cid%3A'6091ead0-1c6d-11ea-a100-8589bb9d7c6b'%2CpanelIndex%3A'94eab06f-60ac-4a85-b771-3a8ed475c9bb'%2Ctype%3Asearch%2Cversion%3A'7.14.0-SNAPSHOT')%2C(embeddableConfig%3A(enhancements%3A())%2CgridData%3A(h%3A8%2Ci%3A'52c19b6b-7117-42ac-a74e-c507a1c3ffc0'%2Cw%3A48%2Cx%3A0%2Cy%3A15)%2Cid%3A'4a36acd0-7ac3-11ea-b69c-cf0d7935cd67'%2CpanelIndex%3A'52c19b6b-7117-42ac-a74e-c507a1c3ffc0'%2Ctype%3Avisualization%2Cversion%3A'7.14.0-SNAPSHOT')%2C(embeddableConfig%3A(enhancements%3A()%2Cvis%3A!n)%2CgridData%3A(h%3A12%2Ci%3Aa1e889dc-b80e-4937-a576-979f34d1859b%2Cw%3A16%2Cx%3A0%2Cy%3A23)%2Cid%3Aef8757d0-7ac2-11ea-b69c-cf0d7935cd67%2CpanelIndex%3Aa1e889dc-b80e-4937-a576-979f34d1859b%2Ctype%3Avisualization%2Cversion%3A'7.14.0-SNAPSHOT')%2C(embeddableConfig%3A(enhancements%3A())%2CgridData%3A(h%3A12%2Ci%3A'4930b035-d756-4cc5-9a18-1af9e67d6f31'%2Cw%3A12%2Cx%3A16%2Cy%3A23)%2Cid%3A'132ab9c0-7ac3-11ea-b69c-cf0d7935cd67'%2CpanelIndex%3A'4930b035-d756-4cc5-9a18-1af9e67d6f31'%2Ctype%3Avisualization%2Cversion%3A'7.14.0-SNAPSHOT')%2C(embeddableConfig%3A(enhancements%3A())%2CgridData%3A(h%3A12%2Ci%3A'55112375-d6f0-44f7-a8fb-867c8f7d464d'%2Cw%3A20%2Cx%3A28%2Cy%3A23)%2Cid%3A'1bba55f0-507e-11eb-9c0d-97106882b997'%2CpanelIndex%3A'55112375-d6f0-44f7-a8fb-867c8f7d464d'%2Ctype%3Avisualization%2Cversion%3A'7.14.0-SNAPSHOT'))%2Cquery%3A(language%3Akuery%2Cquery%3A'')%2Ctags%3A!()%2CtimeRestore%3A!t%2Ctitle%3A'Ecom%20Dashboard'%2CviewMode%3Aview)&forceNow=2021-04-27T16%3A13%3A35.372Z
[00:01:48]                 │ proc [kibana]   log   [16:13:37.211] [error][browser-driver][execute-job][headless-browser-console][ko08b5l94qzt7b7ab311xl9u][plugins][printable_pdf][reporting] 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:01:48]                 │ proc [kibana] 
[00:01:50]                 │ proc [kibana]   log   [16:13:39.761] [warning][browser-driver][execute-job][ko08b5l94qzt7b7ab311xl9u][plugins][printable_pdf][reporting] Request to [http://localhost:6131/api/_newsfeed-FTS-external-service-simulators/kibana/v7.14.0.json] failed! [net::ERR_NETWORK_CHANGED]. This error will be ignored.
[00:01:50]                 │ proc [kibana]   log   [16:13:39.762] [error][browser-driver][execute-job][headless-browser-console][ko08b5l94qzt7b7ab311xl9u][plugins][printable_pdf][reporting] Failed to load resource: net::ERR_NETWORK_CHANGED
[00:01:50]                 │ proc [kibana]   log   [16:13:39.762] [error][browser-driver][execute-job][headless-browser-console][ko08b5l94qzt7b7ab311xl9u][plugins][printable_pdf][reporting] JSHandle@error
[00:01:50]                 │ proc [kibana]   log   [16:13:39.763] [warning][browser-driver][execute-job][ko08b5l94qzt7b7ab311xl9u][plugins][printable_pdf][reporting] Request to [http://localhost:6131/api/saved_objects/_find?fields=title&per_page=10000&type=index-pattern] failed! [net::ERR_NETWORK_CHANGED]. This error will be ignored.
[00:01:50]                 │ proc [kibana]   log   [16:13:39.763] [error][browser-driver][execute-job][headless-browser-console][ko08b5l94qzt7b7ab311xl9u][plugins][printable_pdf][reporting] Failed to load resource: net::ERR_NETWORK_CHANGED
[00:01:50]                 │ proc [kibana]   log   [16:13:39.772] [info][execute-job][ko08b5l94qzt7b7ab311xl9u][plugins][printable_pdf][reporting] handled 144 page requests
[00:01:50]                 │ proc [kibana]   log   [16:13:39.778] [error][execute-job][ko08b5l94qzt7b7ab311xl9u][plugins][printable_pdf][reporting] Reporting encountered an error on the page: Error: TypeError: Failed to fetch
[00:01:50]                 │ proc [kibana]     at fetch_Fetch.fetchResponse (http://localhost:6131/40702/bundles/core/core.entry.js:6:26193)
[00:01:50]                 │ proc [kibana]     at async http://localhost:6131/40702/bundles/core/core.entry.js:6:24090
[00:01:50]                 │ proc [kibana]     at async http://localhost:6131/40702/bundles/core/core.entry.js:6:23996
[00:01:50]                 │ proc [kibana]   log   [16:13:39.781] [error][error][esqueue][plugins][queue-worker][reporting] ko088qnk4qzt7b7ab36j309c - Failure occurred on job ko08b5l94qzt7b7ab311xl9u: Reporting encountered an error on the page: Error: TypeError: Failed to fetch
[00:01:50]                 │ proc [kibana]     at fetch_Fetch.fetchResponse (http://localhost:6131/40702/bundles/core/core.entry.js:6:26193)
[00:01:50]                 │ proc [kibana]     at async http://localhost:6131/40702/bundles/core/core.entry.js:6:24090
[00:01:50]                 │ proc [kibana]     at async http://localhost:6131/40702/bundles/core/core.entry.js:6:23996
[00:01:50]                 │ proc [kibana]   log   [16:13:39.782] [warning][esqueue][plugins][queue-worker][reporting] ko088qnk4qzt7b7ab36j309c - Failing job ko08b5l94qzt7b7ab311xl9u
[00:01:50]                 │ proc [kibana]   log   [16:13:39.785] [warning][execute-job][ko08b5l94qzt7b7ab311xl9u][plugins][printable_pdf][reporting] Chromium received a non-OK response (403) for request http://localhost:6131/api/fleet/epm/packages?experimental=true
[00:01:50]                 │ proc [kibana]   log   [16:13:39.785] [error][browser-driver][execute-job][headless-browser-console][ko08b5l94qzt7b7ab311xl9u][plugins][printable_pdf][reporting] Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:01:50]                 │ proc [kibana]   log   [16:13:39.786] [error][execute-job][ko08b5l94qzt7b7ab311xl9u][plugins][printable_pdf][reporting] Error: Protocol error (Runtime.callFunctionOn): Target closed.
[00:01:50]                 │ proc [kibana]     at /dev/shm/workspace/kibana-build-xpack-3/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:208:63
[00:01:50]                 │ proc [kibana]     at new Promise (<anonymous>)
[00:01:50]                 │ proc [kibana]     at CDPSession.send (/dev/shm/workspace/kibana-build-xpack-3/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:207:16)
[00:01:50]                 │ proc [kibana]     at ExecutionContext._evaluateInternal (/dev/shm/workspace/kibana-build-xpack-3/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:200:50)
[00:01:50]                 │ proc [kibana]     at ExecutionContext.evaluateHandle (/dev/shm/workspace/kibana-build-xpack-3/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:151:21)
[00:01:50]                 │ proc [kibana]     at WaitTask.rerun (/dev/shm/workspace/kibana-build-xpack-3/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:498:71)
[00:01:50]                 │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:01:50]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:01:50]                 │ proc [kibana]   log   [16:13:39.810] [info][esqueue][plugins][queue-worker][reporting] ko088qnk4qzt7b7ab36j309c - Job marked as failed: /.reporting-2021-04-25/_doc/ko08b5l94qzt7b7ab311xl9u
[00:03:16]                 │ info Taking screenshot "/dev/shm/workspace/parallel/3/kibana/x-pack/test/functional/screenshots/failure/Reporting Functional Tests with Deprecated Security configuration enabled Security with _reporting_user_ built-in role Dashboard_ Generate Screenshot does allow user with reporting_user role.png"
[00:03:16]                 │ info Current URL is: http://localhost:6131/app/dashboards#/view/6c263e00-1c6d-11ea-a100-8589bb9d7c6b?_g=(filters:!())&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:%27%27),tags:!(),timeRestore:!t,title:%27Ecom%20Dashboard%27,viewMode:view)
[00:03:16]                 │ info Saving page source to: /dev/shm/workspace/parallel/3/kibana/x-pack/test/functional/failure_debug/html/Reporting Functional Tests with Deprecated Security configuration enabled Security with _reporting_user_ built-in role Dashboard_ Generate Screenshot does allow user with reporting_user role.html
[00:03:16]                 └- ✖ fail: Reporting Functional Tests with Deprecated Security configuration enabled Security with `reporting_user` built-in role Dashboard: Generate Screenshot does allow user with reporting_user role
[00:03:16]                 │      Error: expected false to equal true
[00:03:16]                 │       at Assertion.assert (/dev/shm/workspace/parallel/3/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:03:16]                 │       at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/3/kibana/node_modules/@kbn/expect/expect.js:227:8)
[00:03:16]                 │       at Assertion.be (/dev/shm/workspace/parallel/3/kibana/node_modules/@kbn/expect/expect.js:69:22)
[00:03:16]                 │       at Object.tryGeneratePdfSuccess (test/reporting_functional/services/scenarios.ts:134:65)
[00:03:16]                 │       at runMicrotasks (<anonymous>)
[00:03:16]                 │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:03:16]                 │       at Context.<anonymous> (test/reporting_functional/reporting_and_deprecated_security/security_roles_privileges.ts:51:9)
[00:03:16]                 │       at Object.apply (/dev/shm/workspace/parallel/3/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:16]                 │ 
[00:03:16]                 │ 

Stack Trace

Error: expected false to equal true
    at Assertion.assert (/dev/shm/workspace/parallel/3/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/3/kibana/node_modules/@kbn/expect/expect.js:227:8)
    at Assertion.be (/dev/shm/workspace/parallel/3/kibana/node_modules/@kbn/expect/expect.js:69:22)
    at Object.tryGeneratePdfSuccess (test/reporting_functional/services/scenarios.ts:134:65)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Context.<anonymous> (test/reporting_functional/reporting_and_deprecated_security/security_roles_privileges.ts:51:9)
    at Object.apply (/dev/shm/workspace/parallel/3/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
transform 221 224 +3

Async chunks

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

id before after diff
transform 903.8KB 908.6KB +4.8KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
transform 19.5KB 19.5KB -69.0B

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

cc @walterra

@kibanamachine kibanamachine merged commit fcc3f10 into elastic:7.x Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants