Skip to content

Revert "[7.x] [Monitoring] Change all configs to monitoring.* (#54919)"#56223

Merged
brianseeders merged 1 commit into7.xfrom
revert-56188-backport/7.x/pr-54919
Jan 28, 2020
Merged

Revert "[7.x] [Monitoring] Change all configs to monitoring.* (#54919)"#56223
brianseeders merged 1 commit into7.xfrom
revert-56188-backport/7.x/pr-54919

Conversation

@brianseeders
Copy link
Contributor

Reverts #56188

@brianseeders brianseeders added the release_note:skip Skip the PR/issue when compiling release notes label Jan 28, 2020
@brianseeders brianseeders merged commit 5617755 into 7.x Jan 28, 2020
@kibanamachine
Copy link
Contributor

💔 Build Failed


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/visualize/feature_controls/visualize_security·ts.Visualize feature controls security global visualize all privileges allow saving a currently loaded saved query as a new query via the saved query management component

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:27:06]         └-: Visualize
[00:27:06]           └-> "before all" hook
[00:27:06]           └-: feature controls security
[00:27:06]             └-> "before all" hook
[00:27:06]             └-> "before all" hook
[00:27:06]               │ info [visualize/default] Loading "mappings.json"
[00:27:06]               │ info [visualize/default] Loading "data.json"
[00:27:06]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_1/OAgF20o3T3uzsIpnc82aVg] deleting index
[00:27:06]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_2/AIHmi-0lR52L58U3tOW5LA] deleting index
[00:27:06]               │ info [visualize/default] Deleted existing index [".kibana_2",".kibana_1"]
[00:27:06]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:27:06]               │ info [visualize/default] Created index ".kibana"
[00:27:06]               │ debg [visualize/default] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:27:06]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [metricbeat-7] creating index, cause [auto(bulk api)], templates [], shards [1]/[1], mappings []
[00:27:06]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [metricbeat-7/2RD7ZwuwTJKrY6yGTXk6fg] create_mapping [_doc]
[00:27:07]               │ info Creating index .kibana_2.
[00:27:07]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:27:07]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] updating number_of_replicas to [0] for indices [.kibana_2]
[00:27:07]               │ info Reindexing .kibana to .kibana_1
[00:27:07]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:27:07]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] updating number_of_replicas to [0] for indices [.kibana_1]
[00:27:08]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] 42092 finished with response BulkByScrollResponse[took=77.2ms,timed_out=false,sliceId=null,updated=0,created=8,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:27:08]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana/mXwTAxgvS_GgpQLJJN11Dg] deleting index
[00:27:08]               │ info Migrating .kibana_1 saved objects to .kibana_2
[00:27:08]               │ debg Migrating saved objects space:default, index-pattern:metricbeat-*, custom-space:index-pattern:metricbeat-*, index-pattern:logstash-*, custom_space:index-pattern:logstash-*, visualization:i-exist, custom_space:visualization:i-exist, query:okjpgs
[00:27:08]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_2/j71Z_i6URWeQeU3WgbA9Bw] update_mapping [_doc]
[00:27:08]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_2/j71Z_i6URWeQeU3WgbA9Bw] update_mapping [_doc]
[00:27:08]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_2/j71Z_i6URWeQeU3WgbA9Bw] update_mapping [_doc]
[00:27:08]               │ info Pointing alias .kibana to .kibana_2.
[00:27:08]               │ info Finished in 714ms.
[00:27:08]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:27:08]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_2/j71Z_i6URWeQeU3WgbA9Bw] update_mapping [_doc]
[00:27:09]               │ info [logstash_functional] Loading "mappings.json"
[00:27:09]               │ info [logstash_functional] Loading "data.json.gz"
[00:27:09]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:27:09]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:27:09]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:27:10]             └-: global visualize all privileges
[00:27:10]               └-> "before all" hook
[00:27:10]               └-> "before all" hook
[00:27:10]                 │ debg creating role global_visualize_all_role
[00:27:10]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] added role [global_visualize_all_role]
[00:27:10]                 │ debg created role global_visualize_all_role
[00:27:10]                 │ debg creating user global_visualize_all_user
[00:27:11]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] added user [global_visualize_all_user]
[00:27:11]                 │ debg created user global_visualize_all_user
[00:27:11]                 │ debg SecurityPage.forceLogout
[00:27:11]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:27:11]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:27:11]                 │ debg Redirecting to /logout to force the logout
[00:27:11]                 │ debg Waiting on the login form to appear
[00:27:11]                 │ debg Waiting up to 100000ms for login form...
[00:27:11]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:27:11]                 │ debg browser[INFO] http://localhost:6151/logout?_t=1580246309990 350 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:27:11]                 │
[00:27:11]                 │ debg browser[INFO] http://localhost:6151/bundles/app/logout/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:27:14]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_3.bundle.dll.js 516:138197 "INFO: 2020-01-28T21:18:31Z
[00:27:14]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:27:14]                 │
[00:27:14]                 │      "
[00:27:14]                 │ debg browser[INFO] http://localhost:6151/login?_t=1580246309990 350 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:27:14]                 │
[00:27:14]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:27:14]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:27:15]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:27:16]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_3.bundle.dll.js 516:138197 "INFO: 2020-01-28T21:18:34Z
[00:27:16]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:27:16]                 │
[00:27:16]                 │      "
[00:27:16]                 │ debg navigating to login url: http://localhost:6151/login
[00:27:16]                 │ debg Navigate to: http://localhost:6151/login
[00:27:16]                 │ debg ... sleep(700) start
[00:27:16]                 │ debg browser[INFO] http://localhost:6151/login?_t=1580246314520 350 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:27:16]                 │
[00:27:16]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:27:16]                 │ debg ... sleep(700) end
[00:27:16]                 │ debg returned from get, calling refresh
[00:27:17]                 │ debg currentUrl = http://localhost:6151/login
[00:27:17]                 │          appUrl = http://localhost:6151/login
[00:27:17]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:27:18]                 │ debg browser[INFO] http://localhost:6151/login?_t=1580246314520 350 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:27:18]                 │
[00:27:18]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:27:18]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_3.bundle.dll.js 516:138197 "INFO: 2020-01-28T21:18:36Z
[00:27:18]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:27:18]                 │
[00:27:18]                 │      "
[00:27:18]                 │ debg ... sleep(501) start
[00:27:18]                 │ debg ... sleep(501) end
[00:27:18]                 │ debg in navigateTo url = http://localhost:6151/login
[00:27:18]                 │ debg TestSubjects.exists(statusPageContainer)
[00:27:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:27:21]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:27:21]                 │ debg TestSubjects.setValue(loginUsername, global_visualize_all_user)
[00:27:21]                 │ debg TestSubjects.click(loginUsername)
[00:27:21]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:27:21]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:27:22]                 │ debg TestSubjects.setValue(loginPassword, global_visualize_all_user-password)
[00:27:22]                 │ debg TestSubjects.click(loginPassword)
[00:27:22]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:27:22]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:27:22]                 │ debg TestSubjects.click(loginSubmit)
[00:27:22]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:27:22]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:27:22]                 │ debg Waiting up to 20000ms for logout button visible...
[00:27:22]                 │ debg TestSubjects.exists(userMenuButton)
[00:27:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:27:25]                 │ debg browser[INFO] http://localhost:6151/app/kibana 350 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:27:25]                 │
[00:27:25]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:27:25]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_3.bundle.dll.js 516:138197 "INFO: 2020-01-28T21:18:42Z
[00:27:25]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:27:25]                 │
[00:27:25]                 │      "
[00:27:25]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:27:26]                 │ debg TestSubjects.exists(userMenuButton)
[00:27:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:27:26]                 │ debg TestSubjects.exists(userMenu)
[00:27:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:27:29]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:27:29]                 │ debg TestSubjects.click(userMenuButton)
[00:27:29]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:27:29]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:27:29]                 │ debg Waiting up to 20000ms for user menu opened...
[00:27:29]                 │ debg TestSubjects.exists(userMenu)
[00:27:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:27:29]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:27:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:27:29]               └-> shows visualize navlink
[00:27:29]                 └-> "before each" hook: global before each
[00:27:29]                 │ debg TestSubjects.find(navDrawer)
[00:27:29]                 │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:27:29]                 └- ✓ pass  (21ms) "Visualize feature controls security global visualize all privileges shows visualize navlink"
[00:27:29]               └-> landing page shows "Create new Visualization" button
[00:27:29]                 └-> "before each" hook: global before each
[00:27:29]                 │ debg navigating to visualize url: http://localhost:6151/app/kibana#/visualize
[00:27:29]                 │ debg Navigate to: http://localhost:6151/app/kibana#/visualize
[00:27:29]                 │ debg ... sleep(700) start
[00:27:29]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1580246328160#/visualize 350 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:27:29]                 │
[00:27:29]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:27:30]                 │ debg ... sleep(700) end
[00:27:30]                 │ debg returned from get, calling refresh
[00:27:30]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1580246328160#/visualize 350 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:27:30]                 │
[00:27:30]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:27:30]                 │ debg currentUrl = http://localhost:6151/app/kibana#/visualize
[00:27:30]                 │          appUrl = http://localhost:6151/app/kibana#/visualize
[00:27:30]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:27:33]                 │ debg TestSubjects.find(kibanaChrome)
[00:27:33]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:27:33]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_3.bundle.dll.js 516:138197 "INFO: 2020-01-28T21:18:50Z
[00:27:33]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:27:33]                 │
[00:27:33]                 │      "
[00:27:33]                 │ debg ... sleep(501) start
[00:27:33]                 │ERROR browser[SEVERE] http://localhost:6151/api/kibana/settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:27:33]                 │ debg ... sleep(501) end
[00:27:33]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:27:33]                 │ debg TestSubjects.exists(statusPageContainer)
[00:27:33]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:27:36]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:27:36]                 │ debg TestSubjects.exists(visualizeLandingPage)
[00:27:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="visualizeLandingPage"]') with timeout=10000
[00:27:36]                 │ debg TestSubjects.exists(newItemButton)
[00:27:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=120000
[00:27:36]                 └- ✓ pass  (7.0s) "Visualize feature controls security global visualize all privileges landing page shows "Create new Visualization" button"
[00:27:36]               └-> doesn't show read-only badge
[00:27:36]                 └-> "before each" hook: global before each
[00:27:36]                 │ debg TestSubjects.missingOrFail(headerBadge)
[00:27:36]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="headerBadge"]') with timeout=2500
[00:27:37]                 └- ✓ pass  (527ms) "Visualize feature controls security global visualize all privileges doesn't show read-only badge"
[00:27:37]               └-> can view existing Visualization
[00:27:37]                 └-> "before each" hook: global before each
[00:27:37]                 │ debg navigateToActualUrl http://localhost:6151/app/kibana#/visualize/edit/i-exist
[00:27:37]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1580246335647#/visualize/edit/i-exist 350 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:27:37]                 │
[00:27:37]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:27:37]                 │ debg TestSubjects.exists(visualizationLoader)
[00:27:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:27:40]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_3.bundle.dll.js 516:138197 "INFO: 2020-01-28T21:18:57Z
[00:27:40]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:27:40]                 │
[00:27:40]                 │      "
[00:27:40]                 │ debg --- retry.tryForTime error: [data-test-subj="visualizationLoader"] is not displayed
[00:27:40]                 │ERROR browser[SEVERE] http://localhost:6151/api/kibana/settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:27:41]                 └- ✓ pass  (3.9s) "Visualize feature controls security global visualize all privileges can view existing Visualization"
[00:27:41]               └-> can save existing Visualization
[00:27:41]                 └-> "before each" hook: global before each
[00:27:41]                 │ debg navigateToActualUrl http://localhost:6151/app/kibana#/visualize/edit/i-exist
[00:27:41]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1580246339549#/visualize/edit/i-exist 350 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:27:41]                 │
[00:27:41]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:27:41]                 │ debg TestSubjects.exists(visualizeSaveButton)
[00:27:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="visualizeSaveButton"]') with timeout=10000
[00:27:43]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_3.bundle.dll.js 516:138197 "INFO: 2020-01-28T21:19:01Z
[00:27:43]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:27:43]                 │
[00:27:43]                 │      "
[00:27:43]                 │ debg --- retry.tryForTime error: [data-test-subj="visualizeSaveButton"] is not displayed
[00:27:44]                 │ERROR browser[SEVERE] http://localhost:6151/api/kibana/settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:27:44]                 └- ✓ pass  (3.6s) "Visualize feature controls security global visualize all privileges can save existing Visualization"
[00:27:44]               └-> Embed code shows create short-url button
[00:27:44]                 └-> "before each" hook: global before each
[00:27:44]                 │ debg openShareMenuItem title:Embedcode
[00:27:44]                 │ debg TestSubjects.exists(shareContextMenu)
[00:27:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="shareContextMenu"]') with timeout=2500
[00:27:47]                 │ debg --- retry.tryForTime error: [data-test-subj="shareContextMenu"] is not displayed
[00:27:47]                 │ debg TestSubjects.click(shareTopNavButton)
[00:27:47]                 │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:27:47]                 │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:27:47]                 │ debg Find.findByCssSelector('div.euiContextMenuPanel') with timeout=10000
[00:27:48]                 │ debg TestSubjects.click(sharePanel-Embedcode)
[00:27:48]                 │ debg Find.clickByCssSelector('[data-test-subj="sharePanel-Embedcode"]') with timeout=10000
[00:27:48]                 │ debg Find.findByCssSelector('[data-test-subj="sharePanel-Embedcode"]') with timeout=10000
[00:27:48]                 │ debg Find.waitForElementStale with timeout=10000
[00:27:48]                 │ debg TestSubjects.exists(createShortUrl)
[00:27:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="createShortUrl"]') with timeout=120000
[00:27:48]                 └- ✓ pass  (3.5s) "Visualize feature controls security global visualize all privileges Embed code shows create short-url button"
[00:27:48]               └-> Permalinks shows create short-url button
[00:27:48]                 └-> "before each" hook: global before each
[00:27:48]                 │ debg openShareMenuItem title:Permalinks
[00:27:48]                 │ debg TestSubjects.exists(shareContextMenu)
[00:27:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="shareContextMenu"]') with timeout=2500
[00:27:48]                 │ debg TestSubjects.click(shareTopNavButton)
[00:27:48]                 │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:27:48]                 │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:27:48]                 │ debg TestSubjects.click(shareTopNavButton)
[00:27:48]                 │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:27:48]                 │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:27:48]                 │ debg Find.findByCssSelector('div.euiContextMenuPanel') with timeout=10000
[00:27:48]                 │ debg TestSubjects.click(sharePanel-Permalinks)
[00:27:48]                 │ debg Find.clickByCssSelector('[data-test-subj="sharePanel-Permalinks"]') with timeout=10000
[00:27:48]                 │ debg Find.findByCssSelector('[data-test-subj="sharePanel-Permalinks"]') with timeout=10000
[00:27:48]                 │ debg Find.waitForElementStale with timeout=10000
[00:27:48]                 │ debg TestSubjects.exists(createShortUrl)
[00:27:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="createShortUrl"]') with timeout=120000
[00:27:48]                 │ debg TestSubjects.click(shareTopNavButton)
[00:27:48]                 │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:27:48]                 │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:27:48]                 └- ✓ pass  (535ms) "Visualize feature controls security global visualize all privileges Permalinks shows create short-url button"
[00:27:48]               └-> allow saving via the saved query management component popover with no saved query loaded
[00:27:48]               └-> allow saving a currently loaded saved query as a new query via the saved query management component 
[00:27:48]                 └-> "before each" hook: global before each
[00:27:48]                 │ debg TestSubjects.exists(saved-query-management-popover)
[00:27:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saved-query-management-popover"]') with timeout=2500
[00:27:51]                 │ debg --- retry.tryForTime error: [data-test-subj="saved-query-management-popover"] is not displayed
[00:27:51]                 │ debg TestSubjects.click(saved-query-management-popover-button)
[00:27:51]                 │ debg Find.clickByCssSelector('[data-test-subj="saved-query-management-popover-button"]') with timeout=10000
[00:27:51]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-popover-button"]') with timeout=10000
[00:27:52]                 │ debg TestSubjects.click(saved-query-management-save-as-new-button)
[00:27:52]                 │ debg Find.clickByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:27:52]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:28:02]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:28:02]                 │      Wait timed out after 10023ms
[00:28:02]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:28:12]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:28:12]                 │      Wait timed out after 10007ms
[00:28:13]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:28:23]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:28:23]                 │      Wait timed out after 10042ms
[00:28:23]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:28:33]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:28:33]                 │      Wait timed out after 10037ms
[00:28:34]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:28:44]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:28:44]                 │      Wait timed out after 10044ms
[00:28:44]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:28:54]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:28:54]                 │      Wait timed out after 10032ms
[00:28:55]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:29:05]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:29:05]                 │      Wait timed out after 10039ms
[00:29:05]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:29:15]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:29:15]                 │      Wait timed out after 10058ms
[00:29:16]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:29:26]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:29:26]                 │      Wait timed out after 10048ms
[00:29:26]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:29:36]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:29:36]                 │      Wait timed out after 10037ms
[00:29:37]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:29:47]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:29:47]                 │      Wait timed out after 10060ms
[00:29:47]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:29:57]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:29:57]                 │      Wait timed out after 10005ms
[00:29:58]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Visualize feature controls security global visualize all privileges allow saving a currently loaded saved query as a new query via the saved query management component .png"
[00:29:58]                 │ info Current URL is: http://localhost:6151/app/kibana#/visualize/edit/i-exist?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(filters:!(),linked:!f,query:(language:lucene,query:%27%27),uiState:(),vis:(aggs:!((enabled:!t,id:%271%27,params:(),schema:metric,type:count),(enabled:!t,id:%272%27,params:(field:geo.src,missingBucket:!f,missingBucketLabel:Missing,order:desc,orderBy:%271%27,otherBucket:!f,otherBucketLabel:Other,size:5),schema:segment,type:terms)),params:(addLegend:!t,addTooltip:!t,dimensions:(metric:(accessor:0,aggType:count,format:(id:number),params:())),isDonut:!t,labels:(last_level:!t,show:!f,truncate:100,values:!t),legendPosition:right,type:pie),title:%27A%20Pie%27,type:pie))
[00:29:58]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Visualize feature controls security global visualize all privileges allow saving a currently loaded saved query as a new query via the saved query management component .html
[00:29:58]                 └- ✖ fail: "Visualize feature controls security global visualize all privileges allow saving a currently loaded saved query as a new query via the saved query management component "
[00:29:58]                 │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
Wait timed out after 10005ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/visualize/feature_controls/visualize_security·ts.Visualize feature controls security global visualize all privileges allow saving a currently loaded saved query as a new query via the saved query management component

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:30:19]         └-: Visualize
[00:30:19]           └-> "before all" hook
[00:30:19]           └-: feature controls security
[00:30:19]             └-> "before all" hook
[00:30:19]             └-> "before all" hook
[00:30:19]               │ info [visualize/default] Loading "mappings.json"
[00:30:19]               │ info [visualize/default] Loading "data.json"
[00:30:19]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_2/FmummphlRzKGgSpgA89c0g] deleting index
[00:30:19]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_1/pKtI6B1ORoqrT5TLb4gzpQ] deleting index
[00:30:19]               │ info [visualize/default] Deleted existing index [".kibana_2",".kibana_1"]
[00:30:19]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:30:19]               │ info [visualize/default] Created index ".kibana"
[00:30:19]               │ debg [visualize/default] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:30:19]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [metricbeat-7] creating index, cause [auto(bulk api)], templates [], shards [1]/[1], mappings []
[00:30:20]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [metricbeat-7/RvAQ_KfrQayI0GS5_PRtUg] create_mapping [_doc]
[00:30:21]               │ info Creating index .kibana_2.
[00:30:21]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:30:21]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] updating number_of_replicas to [0] for indices [.kibana_2]
[00:30:21]               │ info Reindexing .kibana to .kibana_1
[00:30:21]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:30:21]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] updating number_of_replicas to [0] for indices [.kibana_1]
[00:30:21]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] 43029 finished with response BulkByScrollResponse[took=74.6ms,timed_out=false,sliceId=null,updated=0,created=8,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:30:21]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana/BaMAd_w-Qvms5WDc7b2Xxw] deleting index
[00:30:21]               │ info Migrating .kibana_1 saved objects to .kibana_2
[00:30:21]               │ debg Migrating saved objects space:default, index-pattern:metricbeat-*, custom-space:index-pattern:metricbeat-*, index-pattern:logstash-*, custom_space:index-pattern:logstash-*, visualization:i-exist, custom_space:visualization:i-exist, query:okjpgs
[00:30:21]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_2/sPktGHtuT_i9RaAQbBhDsA] update_mapping [_doc]
[00:30:21]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_2/sPktGHtuT_i9RaAQbBhDsA] update_mapping [_doc]
[00:30:21]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_2/sPktGHtuT_i9RaAQbBhDsA] update_mapping [_doc]
[00:30:21]               │ info Pointing alias .kibana to .kibana_2.
[00:30:21]               │ info Finished in 648ms.
[00:30:21]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:30:22]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] [.kibana_2/sPktGHtuT_i9RaAQbBhDsA] update_mapping [_doc]
[00:30:23]               │ info [logstash_functional] Loading "mappings.json"
[00:30:23]               │ info [logstash_functional] Loading "data.json.gz"
[00:30:23]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:30:23]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:30:23]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:30:24]             └-: global visualize all privileges
[00:30:24]               └-> "before all" hook
[00:30:24]               └-> "before all" hook
[00:30:24]                 │ debg creating role global_visualize_all_role
[00:30:24]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] added role [global_visualize_all_role]
[00:30:24]                 │ debg created role global_visualize_all_role
[00:30:24]                 │ debg creating user global_visualize_all_user
[00:30:24]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1580240786734230621] added user [global_visualize_all_user]
[00:30:24]                 │ debg created user global_visualize_all_user
[00:30:24]                 │ debg SecurityPage.forceLogout
[00:30:24]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:30:24]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:30:25]                 │ debg Redirecting to /logout to force the logout
[00:30:25]                 │ debg Waiting on the login form to appear
[00:30:25]                 │ debg Waiting up to 100000ms for login form...
[00:30:25]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:30:25]                 │ debg browser[INFO] http://localhost:6151/logout?_t=1580244368911 350 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:30:25]                 │
[00:30:25]                 │ debg browser[INFO] http://localhost:6151/bundles/app/logout/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:30:27]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_3.bundle.dll.js 516:138197 "INFO: 2020-01-28T20:46:10Z
[00:30:27]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:30:27]                 │
[00:30:27]                 │      "
[00:30:27]                 │ debg browser[INFO] http://localhost:6151/login?_t=1580244368911 350 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:30:27]                 │
[00:30:27]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:30:27]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:30:28]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:30:29]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_3.bundle.dll.js 516:138197 "INFO: 2020-01-28T20:46:13Z
[00:30:29]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:30:29]                 │
[00:30:29]                 │      "
[00:30:29]                 │ debg navigating to login url: http://localhost:6151/login
[00:30:29]                 │ debg Navigate to: http://localhost:6151/login
[00:30:29]                 │ debg ... sleep(700) start
[00:30:29]                 │ debg browser[INFO] http://localhost:6151/login?_t=1580244373489 350 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:30:29]                 │
[00:30:29]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:30:30]                 │ debg ... sleep(700) end
[00:30:30]                 │ debg returned from get, calling refresh
[00:30:30]                 │ debg browser[INFO] http://localhost:6151/login?_t=1580244373489 350 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:30:30]                 │
[00:30:30]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:30:30]                 │ debg currentUrl = http://localhost:6151/login
[00:30:30]                 │          appUrl = http://localhost:6151/login
[00:30:30]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:30:32]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_3.bundle.dll.js 516:138197 "INFO: 2020-01-28T20:46:15Z
[00:30:32]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:30:32]                 │
[00:30:32]                 │      "
[00:30:32]                 │ debg ... sleep(501) start
[00:30:32]                 │ debg ... sleep(501) end
[00:30:32]                 │ debg in navigateTo url = http://localhost:6151/login
[00:30:32]                 │ debg TestSubjects.exists(statusPageContainer)
[00:30:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:30:35]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:30:35]                 │ debg TestSubjects.setValue(loginUsername, global_visualize_all_user)
[00:30:35]                 │ debg TestSubjects.click(loginUsername)
[00:30:35]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:30:35]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:30:36]                 │ debg TestSubjects.setValue(loginPassword, global_visualize_all_user-password)
[00:30:36]                 │ debg TestSubjects.click(loginPassword)
[00:30:36]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:30:36]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:30:36]                 │ debg TestSubjects.click(loginSubmit)
[00:30:36]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:30:36]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:30:36]                 │ debg Waiting up to 20000ms for logout button visible...
[00:30:36]                 │ debg TestSubjects.exists(userMenuButton)
[00:30:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:30:40]                 │ debg browser[INFO] http://localhost:6151/app/kibana 350 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:30:40]                 │
[00:30:40]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:30:40]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_3.bundle.dll.js 516:138197 "INFO: 2020-01-28T20:46:22Z
[00:30:40]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:30:40]                 │
[00:30:40]                 │      "
[00:30:40]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:30:41]                 │ debg TestSubjects.exists(userMenuButton)
[00:30:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:30:41]                 │ debg TestSubjects.exists(userMenu)
[00:30:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:30:43]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:30:44]                 │ debg TestSubjects.click(userMenuButton)
[00:30:44]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:30:44]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:30:44]                 │ debg Waiting up to 20000ms for user menu opened...
[00:30:44]                 │ debg TestSubjects.exists(userMenu)
[00:30:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:30:44]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:30:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:30:44]               └-> shows visualize navlink
[00:30:44]                 └-> "before each" hook: global before each
[00:30:44]                 │ debg TestSubjects.find(navDrawer)
[00:30:44]                 │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:30:44]                 └- ✓ pass  (27ms) "Visualize feature controls security global visualize all privileges shows visualize navlink"
[00:30:44]               └-> landing page shows "Create new Visualization" button
[00:30:44]                 └-> "before each" hook: global before each
[00:30:44]                 │ debg navigating to visualize url: http://localhost:6151/app/kibana#/visualize
[00:30:44]                 │ debg Navigate to: http://localhost:6151/app/kibana#/visualize
[00:30:44]                 │ debg ... sleep(700) start
[00:30:44]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1580244388073#/visualize 350 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:30:44]                 │
[00:30:44]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:30:45]                 │ debg ... sleep(700) end
[00:30:45]                 │ debg returned from get, calling refresh
[00:30:45]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1580244388073#/visualize 350 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:30:45]                 │
[00:30:45]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:30:45]                 │ debg currentUrl = http://localhost:6151/app/kibana#/visualize
[00:30:45]                 │          appUrl = http://localhost:6151/app/kibana#/visualize
[00:30:45]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:30:47]                 │ debg TestSubjects.find(kibanaChrome)
[00:30:47]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:30:47]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_3.bundle.dll.js 516:138197 "INFO: 2020-01-28T20:46:30Z
[00:30:47]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:30:47]                 │
[00:30:47]                 │      "
[00:30:47]                 │ debg ... sleep(501) start
[00:30:47]                 │ERROR browser[SEVERE] http://localhost:6151/api/kibana/settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:30:48]                 │ debg ... sleep(501) end
[00:30:48]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:30:48]                 │ debg TestSubjects.exists(statusPageContainer)
[00:30:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:30:50]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:30:51]                 │ debg TestSubjects.exists(visualizeLandingPage)
[00:30:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="visualizeLandingPage"]') with timeout=10000
[00:30:51]                 │ debg TestSubjects.exists(newItemButton)
[00:30:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=120000
[00:30:51]                 └- ✓ pass  (6.9s) "Visualize feature controls security global visualize all privileges landing page shows "Create new Visualization" button"
[00:30:51]               └-> doesn't show read-only badge
[00:30:51]                 └-> "before each" hook: global before each
[00:30:51]                 │ debg TestSubjects.missingOrFail(headerBadge)
[00:30:51]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="headerBadge"]') with timeout=2500
[00:30:51]                 └- ✓ pass  (531ms) "Visualize feature controls security global visualize all privileges doesn't show read-only badge"
[00:30:51]               └-> can view existing Visualization
[00:30:51]                 └-> "before each" hook: global before each
[00:30:51]                 │ debg navigateToActualUrl http://localhost:6151/app/kibana#/visualize/edit/i-exist
[00:30:51]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1580244395549#/visualize/edit/i-exist 350 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:30:51]                 │
[00:30:51]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:30:51]                 │ debg TestSubjects.exists(visualizationLoader)
[00:30:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:30:54]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_3.bundle.dll.js 516:138197 "INFO: 2020-01-28T20:46:37Z
[00:30:54]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:30:54]                 │
[00:30:54]                 │      "
[00:30:54]                 │ debg --- retry.tryForTime error: [data-test-subj="visualizationLoader"] is not displayed
[00:30:55]                 │ERROR browser[SEVERE] http://localhost:6151/api/kibana/settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:30:55]                 └- ✓ pass  (4.1s) "Visualize feature controls security global visualize all privileges can view existing Visualization"
[00:30:55]               └-> can save existing Visualization
[00:30:55]                 └-> "before each" hook: global before each
[00:30:55]                 │ debg navigateToActualUrl http://localhost:6151/app/kibana#/visualize/edit/i-exist
[00:30:56]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1580244399618#/visualize/edit/i-exist 350 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:30:56]                 │
[00:30:56]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:30:56]                 │ debg TestSubjects.exists(visualizeSaveButton)
[00:30:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="visualizeSaveButton"]') with timeout=10000
[00:30:58]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_3.bundle.dll.js 516:138197 "INFO: 2020-01-28T20:46:41Z
[00:30:58]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:30:58]                 │
[00:30:58]                 │      "
[00:30:58]                 │ debg --- retry.tryForTime error: [data-test-subj="visualizeSaveButton"] is not displayed
[00:30:59]                 │ERROR browser[SEVERE] http://localhost:6151/api/kibana/settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:30:59]                 └- ✓ pass  (3.8s) "Visualize feature controls security global visualize all privileges can save existing Visualization"
[00:30:59]               └-> Embed code shows create short-url button
[00:30:59]                 └-> "before each" hook: global before each
[00:30:59]                 │ debg openShareMenuItem title:Embedcode
[00:30:59]                 │ debg TestSubjects.exists(shareContextMenu)
[00:30:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="shareContextMenu"]') with timeout=2500
[00:31:02]                 │ debg --- retry.tryForTime error: [data-test-subj="shareContextMenu"] is not displayed
[00:31:02]                 │ debg TestSubjects.click(shareTopNavButton)
[00:31:02]                 │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:31:02]                 │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:31:02]                 │ debg Find.findByCssSelector('div.euiContextMenuPanel') with timeout=10000
[00:31:02]                 │ debg TestSubjects.click(sharePanel-Embedcode)
[00:31:02]                 │ debg Find.clickByCssSelector('[data-test-subj="sharePanel-Embedcode"]') with timeout=10000
[00:31:02]                 │ debg Find.findByCssSelector('[data-test-subj="sharePanel-Embedcode"]') with timeout=10000
[00:31:03]                 │ debg Find.waitForElementStale with timeout=10000
[00:31:03]                 │ debg TestSubjects.exists(createShortUrl)
[00:31:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="createShortUrl"]') with timeout=120000
[00:31:03]                 └- ✓ pass  (3.5s) "Visualize feature controls security global visualize all privileges Embed code shows create short-url button"
[00:31:03]               └-> Permalinks shows create short-url button
[00:31:03]                 └-> "before each" hook: global before each
[00:31:03]                 │ debg openShareMenuItem title:Permalinks
[00:31:03]                 │ debg TestSubjects.exists(shareContextMenu)
[00:31:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="shareContextMenu"]') with timeout=2500
[00:31:03]                 │ debg TestSubjects.click(shareTopNavButton)
[00:31:03]                 │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:31:03]                 │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:31:03]                 │ debg TestSubjects.click(shareTopNavButton)
[00:31:03]                 │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:31:03]                 │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:31:03]                 │ debg Find.findByCssSelector('div.euiContextMenuPanel') with timeout=10000
[00:31:03]                 │ debg TestSubjects.click(sharePanel-Permalinks)
[00:31:03]                 │ debg Find.clickByCssSelector('[data-test-subj="sharePanel-Permalinks"]') with timeout=10000
[00:31:03]                 │ debg Find.findByCssSelector('[data-test-subj="sharePanel-Permalinks"]') with timeout=10000
[00:31:03]                 │ debg Find.waitForElementStale with timeout=10000
[00:31:03]                 │ debg TestSubjects.exists(createShortUrl)
[00:31:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="createShortUrl"]') with timeout=120000
[00:31:03]                 │ debg TestSubjects.click(shareTopNavButton)
[00:31:03]                 │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:31:03]                 │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:31:03]                 └- ✓ pass  (570ms) "Visualize feature controls security global visualize all privileges Permalinks shows create short-url button"
[00:31:03]               └-> allow saving via the saved query management component popover with no saved query loaded
[00:31:03]               └-> allow saving a currently loaded saved query as a new query via the saved query management component 
[00:31:03]                 └-> "before each" hook: global before each
[00:31:03]                 │ debg TestSubjects.exists(saved-query-management-popover)
[00:31:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saved-query-management-popover"]') with timeout=2500
[00:31:06]                 │ debg --- retry.tryForTime error: [data-test-subj="saved-query-management-popover"] is not displayed
[00:31:06]                 │ debg TestSubjects.click(saved-query-management-popover-button)
[00:31:06]                 │ debg Find.clickByCssSelector('[data-test-subj="saved-query-management-popover-button"]') with timeout=10000
[00:31:06]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-popover-button"]') with timeout=10000
[00:31:06]                 │ debg TestSubjects.click(saved-query-management-save-as-new-button)
[00:31:06]                 │ debg Find.clickByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:31:06]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:31:16]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:31:16]                 │      Wait timed out after 10012ms
[00:31:17]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:31:27]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:31:27]                 │      Wait timed out after 10004ms
[00:31:28]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:31:38]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:31:38]                 │      Wait timed out after 10057ms
[00:31:38]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:31:48]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:31:48]                 │      Wait timed out after 10046ms
[00:31:49]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:31:59]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:31:59]                 │      Wait timed out after 10061ms
[00:31:59]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:32:09]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:32:09]                 │      Wait timed out after 10043ms
[00:32:10]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:32:20]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:32:20]                 │      Wait timed out after 10015ms
[00:32:20]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:32:30]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:32:30]                 │      Wait timed out after 10013ms
[00:32:31]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:32:41]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:32:41]                 │      Wait timed out after 10033ms
[00:32:41]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:32:51]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:32:51]                 │      Wait timed out after 10019ms
[00:32:52]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:33:02]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:33:02]                 │      Wait timed out after 10020ms
[00:33:02]                 │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-as-new-button"]') with timeout=10000
[00:33:12]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
[00:33:12]                 │      Wait timed out after 10037ms
[00:33:13]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Visualize feature controls security global visualize all privileges allow saving a currently loaded saved query as a new query via the saved query management component .png"
[00:33:13]                 │ info Current URL is: http://localhost:6151/app/kibana#/visualize/edit/i-exist?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(filters:!(),linked:!f,query:(language:lucene,query:%27%27),uiState:(),vis:(aggs:!((enabled:!t,id:%271%27,params:(),schema:metric,type:count),(enabled:!t,id:%272%27,params:(field:geo.src,missingBucket:!f,missingBucketLabel:Missing,order:desc,orderBy:%271%27,otherBucket:!f,otherBucketLabel:Other,size:5),schema:segment,type:terms)),params:(addLegend:!t,addTooltip:!t,dimensions:(metric:(accessor:0,aggType:count,format:(id:number),params:())),isDonut:!t,labels:(last_level:!t,show:!f,truncate:100,values:!t),legendPosition:right,type:pie),title:%27A%20Pie%27,type:pie))
[00:33:13]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Visualize feature controls security global visualize all privileges allow saving a currently loaded saved query as a new query via the saved query management component .html
[00:33:13]                 └- ✖ fail: "Visualize feature controls security global visualize all privileges allow saving a currently loaded saved query as a new query via the saved query management component "
[00:33:13]                 │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="saved-query-management-save-as-new-button"])
Wait timed out after 10037ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

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

@spalger spalger deleted the revert-56188-backport/7.x/pr-54919 branch April 30, 2020 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments