Skip to content

[7.x] [Maps] Fix document source top hits split by scripted field (#57481)#57585

Merged
nreese merged 1 commit intoelastic:7.xfrom
nreese:backport/7.x/pr-57481
Feb 13, 2020
Merged

[7.x] [Maps] Fix document source top hits split by scripted field (#57481)#57585
nreese merged 1 commit intoelastic:7.xfrom
nreese:backport/7.x/pr-57481

Conversation

@nreese
Copy link
Contributor

@nreese nreese commented Feb 13, 2020

Backports the following commits to 7.x:

…57481)

* [Maps] Fix document source top hits split by scripted field

* fix i18n message

* review feedback

* remove unneeded scss file
@nreese nreese added the backport This PR is a backport of another PR label Feb 13, 2020
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/discover/feature_controls/discover_security·ts.discover feature controls security global discover all privileges allow saving via the saved query management component popover with no query loaded

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:07:49]         └-: discover
[00:07:49]           └-> "before all" hook
[00:07:49]           └-: feature controls
[00:07:49]             └-> "before all" hook
[00:07:49]             └-: security
[00:07:49]               └-> "before all" hook
[00:07:49]               └-> "before all" hook
[00:07:49]                 │ info [discover/feature_controls/security] Loading "mappings.json"
[00:07:49]                 │ info [discover/feature_controls/security] Loading "data.json"
[00:07:49]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] [.kibana_2/tWK6D2XLST-P5wx-ReytJQ] deleting index
[00:07:49]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] [.kibana_1/RgnoU0o4TTaekJHZq7WMfA] deleting index
[00:07:49]                 │ info [discover/feature_controls/security] Deleted existing index [".kibana_2",".kibana_1"]
[00:07:49]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:07:50]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:07:50]                 │ info [discover/feature_controls/security] Created index ".kibana"
[00:07:50]                 │ debg [discover/feature_controls/security] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:07:50]                 │ info [discover/feature_controls/security] Indexed 3 docs into ".kibana"
[00:07:51]                 │ info Creating index .kibana_2.
[00:07:51]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:07:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] updating number_of_replicas to [0] for indices [.kibana_2]
[00:07:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:07:51]                 │ info Reindexing .kibana to .kibana_1
[00:07:51]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:07:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] updating number_of_replicas to [0] for indices [.kibana_1]
[00:07:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:07:51]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] 9710 finished with response BulkByScrollResponse[took=44.9ms,timed_out=false,sliceId=null,updated=0,created=3,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:07:52]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] [.kibana/8xfl_yMTTOqI4C0lfB8csg] deleting index
[00:07:52]                 │ info Migrating .kibana_1 saved objects to .kibana_2
[00:07:52]                 │ debg Migrating saved objects index-pattern:logstash-*, config:6.0.0, query:okjpgs
[00:07:52]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] [.kibana_2/x72lVbwoQUyyG8ESvdNfpA] update_mapping [_doc]
[00:07:52]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] [.kibana_2/x72lVbwoQUyyG8ESvdNfpA] update_mapping [_doc]
[00:07:52]                 │ info Pointing alias .kibana to .kibana_2.
[00:07:52]                 │ info Finished in 818ms.
[00:07:52]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:07:52]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] [.kibana_2/x72lVbwoQUyyG8ESvdNfpA] update_mapping [_doc]
[00:07:53]                 │ info [logstash_functional] Loading "mappings.json"
[00:07:53]                 │ info [logstash_functional] Loading "data.json.gz"
[00:07:53]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:07:53]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:07:53]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:07:55]                 │ debg SecurityPage.forceLogout
[00:07:55]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:07:55]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:56]                 │ debg Redirecting to /logout to force the logout
[00:07:56]                 │ debg Waiting on the login form to appear
[00:07:56]                 │ debg Waiting up to 100000ms for login form...
[00:07:56]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:56]                 │ debg browser[INFO] http://localhost:6141/logout?_t=1581613803302 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:07:56]                 │
[00:07:56]                 │ debg browser[INFO] http://localhost:6141/bundles/app/logout/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:58]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:59]                 │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_0.bundle.dll.js 70:139970 "INFO: 2020-02-13T17:10:06Z
[00:07:59]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:07:59]                 │
[00:07:59]                 │      "
[00:07:59]                 │ debg browser[INFO] http://localhost:6141/login?_t=1581613803302 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:07:59]                 │
[00:07:59]                 │ debg browser[INFO] http://localhost:6141/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:59]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:02]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:03]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:04]                 │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_0.bundle.dll.js 70:139970 "INFO: 2020-02-13T17:10:11Z
[00:08:04]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:08:04]                 │
[00:08:04]                 │      "
[00:08:04]               └-: global discover all privileges
[00:08:04]                 └-> "before all" hook
[00:08:04]                 └-> "before all" hook
[00:08:04]                   │ debg creating role global_discover_all_role
[00:08:04]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] added role [global_discover_all_role]
[00:08:04]                   │ debg created role global_discover_all_role
[00:08:04]                   │ debg creating user global_discover_all_user
[00:08:04]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xl-1581611019341133628] added user [global_discover_all_user]
[00:08:04]                   │ debg created user global_discover_all_user
[00:08:04]                   │ debg navigating to login url: http://localhost:6141/login
[00:08:04]                   │ debg Navigate to: http://localhost:6141/login
[00:08:05]                   │ debg ... sleep(700) start
[00:08:05]                   │ debg browser[INFO] http://localhost:6141/login?_t=1581613812200 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:08:05]                   │
[00:08:05]                   │ debg browser[INFO] http://localhost:6141/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:05]                   │ debg ... sleep(700) end
[00:08:05]                   │ debg returned from get, calling refresh
[00:08:05]                   │ debg browser[INFO] http://localhost:6141/login?_t=1581613812200 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:08:05]                   │
[00:08:05]                   │ debg browser[INFO] http://localhost:6141/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:05]                   │ debg currentUrl = http://localhost:6141/login
[00:08:05]                   │          appUrl = http://localhost:6141/login
[00:08:05]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:08:08]                   │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_0.bundle.dll.js 70:139970 "INFO: 2020-02-13T17:10:14Z
[00:08:08]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:08:08]                   │
[00:08:08]                   │      "
[00:08:08]                   │ debg ... sleep(501) start
[00:08:08]                   │ debg ... sleep(501) end
[00:08:08]                   │ debg in navigateTo url = http://localhost:6141/login#/
[00:08:08]                   │ debg TestSubjects.exists(statusPageContainer)
[00:08:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:08:11]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:08:11]                   │ debg TestSubjects.setValue(loginUsername, global_discover_all_user)
[00:08:11]                   │ debg TestSubjects.click(loginUsername)
[00:08:11]                   │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:08:11]                   │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:08:12]                   │ debg TestSubjects.setValue(loginPassword, global_discover_all_user-password)
[00:08:12]                   │ debg TestSubjects.click(loginPassword)
[00:08:12]                   │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:08:12]                   │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:08:12]                   │ debg TestSubjects.click(loginSubmit)
[00:08:12]                   │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:08:12]                   │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:08:12]                   │ debg Waiting up to 20000ms for logout button visible...
[00:08:12]                   │ debg TestSubjects.exists(userMenuButton)
[00:08:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:08:15]                   │ debg browser[INFO] http://localhost:6141/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:08:15]                   │
[00:08:15]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:15]                   │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_0.bundle.dll.js 70:139970 "INFO: 2020-02-13T17:10:21Z
[00:08:15]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:08:15]                   │
[00:08:15]                   │      "
[00:08:15]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:08:16]                   │ debg TestSubjects.exists(userMenuButton)
[00:08:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:08:16]                   │ debg TestSubjects.exists(userMenu)
[00:08:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:08:19]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:08:19]                   │ debg TestSubjects.click(userMenuButton)
[00:08:19]                   │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:08:19]                   │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:08:20]                   │ debg Waiting up to 20000ms for user menu opened...
[00:08:20]                   │ debg TestSubjects.exists(userMenu)
[00:08:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:08:20]                   │ debg TestSubjects.exists(userMenu > logoutLink)
[00:08:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:08:20]                 └-> shows discover navlink
[00:08:20]                   └-> "before each" hook: global before each
[00:08:20]                   │ debg TestSubjects.find(navDrawer)
[00:08:20]                   │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:08:20]                   └- ✓ pass  (31ms) "discover feature controls security global discover all privileges shows discover navlink"
[00:08:20]                 └-> shows save button
[00:08:20]                   └-> "before each" hook: global before each
[00:08:20]                   │ debg navigating to discover url: http://localhost:6141/app/kibana#/discover
[00:08:20]                   │ debg Navigate to: http://localhost:6141/app/kibana#/discover
[00:08:20]                   │ debg ... sleep(700) start
[00:08:20]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1581613827368#/discover 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:08:20]                   │
[00:08:20]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:20]                   │ debg ... sleep(700) end
[00:08:20]                   │ debg returned from get, calling refresh
[00:08:21]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1581613827368#/discover 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:08:21]                   │
[00:08:21]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:21]                   │ debg currentUrl = http://localhost:6141/app/kibana#/discover
[00:08:21]                   │          appUrl = http://localhost:6141/app/kibana#/discover
[00:08:21]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:08:24]                   │ debg TestSubjects.find(kibanaChrome)
[00:08:24]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:08:24]                   │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_0.bundle.dll.js 70:139970 "INFO: 2020-02-13T17:10:31Z
[00:08:24]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:08:24]                   │
[00:08:24]                   │      "
[00:08:24]                   │ debg ... sleep(501) start
[00:08:25]                   │ debg ... sleep(501) end
[00:08:25]                   │ debg in navigateTo url = http://localhost:6141/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:08:25]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:08:26]                   │ debg ... sleep(501) start
[00:08:26]                   │ debg ... sleep(501) end
[00:08:26]                   │ debg in navigateTo url = http://localhost:6141/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:08:26]                   │ debg TestSubjects.exists(statusPageContainer)
[00:08:26]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:08:29]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:08:29]                   │ debg TestSubjects.exists(discoverSaveButton)
[00:08:29]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="discoverSaveButton"]') with timeout=20000
[00:08:29]                   └- ✓ pass  (9.6s) "discover feature controls security global discover all privileges shows save button"
[00:08:29]                 └-> doesn't show read-only badge
[00:08:29]                   └-> "before each" hook: global before each
[00:08:29]                   │ debg TestSubjects.missingOrFail(headerBadge)
[00:08:29]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="headerBadge"]') with timeout=2500
[00:08:30]                   └- ✓ pass  (537ms) "discover feature controls security global discover all privileges doesn't show read-only badge"
[00:08:30]                 └-> Permalinks shows create short-url button
[00:08:30]                   └-> "before each" hook: global before each
[00:08:30]                   │ debg openShareMenuItem title:Permalinks
[00:08:30]                   │ debg TestSubjects.exists(shareContextMenu)
[00:08:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="shareContextMenu"]') with timeout=2500
[00:08:32]                   │ debg --- retry.tryForTime error: [data-test-subj="shareContextMenu"] is not displayed
[00:08:33]                   │ debg TestSubjects.click(shareTopNavButton)
[00:08:33]                   │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:08:33]                   │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:08:33]                   │ debg Find.findByCssSelector('div.euiContextMenuPanel') with timeout=10000
[00:08:33]                   │ debg TestSubjects.click(sharePanel-Permalinks)
[00:08:33]                   │ debg Find.clickByCssSelector('[data-test-subj="sharePanel-Permalinks"]') with timeout=10000
[00:08:33]                   │ debg Find.findByCssSelector('[data-test-subj="sharePanel-Permalinks"]') with timeout=10000
[00:08:33]                   │ debg Find.waitForElementStale with timeout=10000
[00:08:33]                   │ debg TestSubjects.exists(createShortUrl)
[00:08:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="createShortUrl"]') with timeout=120000
[00:08:33]                   │ debg TestSubjects.click(shareTopNavButton)
[00:08:33]                   │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:08:33]                   │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:08:33]                   └- ✓ pass  (3.6s) "discover feature controls security global discover all privileges Permalinks shows create short-url button"
[00:08:33]                 └-> allow saving via the saved query management component popover with no query loaded
[00:08:33]                   └-> "before each" hook: global before each
[00:08:33]                   │ debg TestSubjects.exists(saved-query-management-popover)
[00:08:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saved-query-management-popover"]') with timeout=2500
[00:08:36]                   │ debg --- retry.tryForTime error: [data-test-subj="saved-query-management-popover"] is not displayed
[00:08:36]                   │ debg TestSubjects.click(saved-query-management-popover-button)
[00:08:36]                   │ debg Find.clickByCssSelector('[data-test-subj="saved-query-management-popover-button"]') with timeout=10000
[00:08:36]                   │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-popover-button"]') with timeout=10000
[00:08:37]                   │ debg TestSubjects.click(saved-query-management-save-button)
[00:08:37]                   │ debg Find.clickByCssSelector('[data-test-subj="saved-query-management-save-button"]') with timeout=10000
[00:08:37]                   │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-button"]') with timeout=10000
[00:08:37]                   │ debg TestSubjects.exists(saveQueryForm)
[00:08:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveQueryForm"]') with timeout=120000
[00:08:39]                   │ debg --- retry.tryForTime error: [data-test-subj="saveQueryForm"] is not displayed
[00:08:42]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:45]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:48]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:52]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:55]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:58]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:01]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:04]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:07]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:10]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:13]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:16]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:19]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:22]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:25]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:28]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:31]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:34]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:37]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:40]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:43]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:46]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:49]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:52]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:55]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:58]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:01]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:04]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:08]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:11]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:14]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:17]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:20]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:23]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:26]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:29]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:32]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:35]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:38]                   │ debg --- retry.tryForTime failed again with the same message...
[00:10:38]                   │ debg --- retry.try error: expected testSubject(saveQueryForm) to exist
[00:10:39]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/discover feature controls security global discover all privileges allow saving via the saved query management component popover with no query loaded.png"
[00:10:39]                   │ info Current URL is: http://localhost:6141/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:10:39]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/discover feature controls security global discover all privileges allow saving via the saved query management component popover with no query loaded.html
[00:10:39]                   └- ✖ fail: "discover feature controls security global discover all privileges allow saving via the saved query management component popover with no query loaded"
[00:10:39]                   │

Stack Trace

Error: retry.try timeout: Error: expected testSubject(saveQueryForm) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/test_subjects.ts:60:15)
    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

@nreese nreese merged commit 4e470eb into elastic:7.x Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants