Skip to content

Comments

[7.x] [SIEM] update url state between page if date is relative (#56813)#57072

Merged
XavierM merged 2 commits intoelastic:7.xfrom
XavierM:backport/7.x/pr-56813
Feb 7, 2020
Merged

[7.x] [SIEM] update url state between page if date is relative (#56813)#57072
XavierM merged 2 commits intoelastic:7.xfrom
XavierM:backport/7.x/pr-56813

Conversation

@XavierM
Copy link
Contributor

@XavierM XavierM commented Feb 7, 2020

Backports the following commits to 7.x:

* update url state between page if needed it like time range

* fix round up for to

* simplify type

* leftover cleanup

* we forget to update relative date when loading the page by a refresh

* pair with Garrett to make a minimal impact on the ux

* fix detetections tabs
@XavierM XavierM added the backport This PR is a backport of another PR label Feb 7, 2020
@elasticmachine
Copy link
Contributor

💔 Build Failed


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 9 times on tracked branches: https://github.com/elastic/kibana/issues/45348

[00:00:00]       │
[00:06:57]         └-: discover
[00:06:57]           └-> "before all" hook
[00:06:57]           └-: feature controls
[00:06:57]             └-> "before all" hook
[00:06:57]             └-: security
[00:06:57]               └-> "before all" hook
[00:06:57]               └-> "before all" hook
[00:06:57]                 │ info [discover/feature_controls/security] Loading "mappings.json"
[00:06:57]                 │ info [discover/feature_controls/security] Loading "data.json"
[00:06:57]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] [.kibana_2/tZqDKNSvQ56p8R9pTf-I7Q] deleting index
[00:06:57]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] [.kibana_1/njjN39xQQAyKjPgenMMrdQ] deleting index
[00:06:57]                 │ info [discover/feature_controls/security] Deleted existing index [".kibana_2",".kibana_1"]
[00:06:57]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:06:57]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:06:57]                 │ info [discover/feature_controls/security] Created index ".kibana"
[00:06:57]                 │ debg [discover/feature_controls/security] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:06:57]                 │ info [discover/feature_controls/security] Indexed 3 docs into ".kibana"
[00:06:58]                 │ info Creating index .kibana_2.
[00:06:58]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:06:58]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] updating number_of_replicas to [0] for indices [.kibana_2]
[00:06:58]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:06:58]                 │ info Reindexing .kibana to .kibana_1
[00:06:58]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:06:58]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] updating number_of_replicas to [0] for indices [.kibana_1]
[00:06:58]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:06:59]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] 9456 finished with response BulkByScrollResponse[took=51.1ms,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:06:59]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] [.kibana/qxXINUC4SSWKWMWVSkHtNg] deleting index
[00:06:59]                 │ info Migrating .kibana_1 saved objects to .kibana_2
[00:06:59]                 │ debg Migrating saved objects index-pattern:logstash-*, config:6.0.0, query:okjpgs
[00:06:59]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] [.kibana_2/RVs7SkKyQGumZ6OMmv4rFw] update_mapping [_doc]
[00:06:59]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] [.kibana_2/RVs7SkKyQGumZ6OMmv4rFw] update_mapping [_doc]
[00:06:59]                 │ info Pointing alias .kibana to .kibana_2.
[00:06:59]                 │ info Finished in 719ms.
[00:06:59]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:06:59]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] [.kibana_2/RVs7SkKyQGumZ6OMmv4rFw] update_mapping [_doc]
[00:07:00]                 │ info [logstash_functional] Loading "mappings.json"
[00:07:00]                 │ info [logstash_functional] Loading "data.json.gz"
[00:07:00]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:07:00]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:07:00]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:07:02]                 │ debg SecurityPage.forceLogout
[00:07:02]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:07:02]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:02]                 │ debg Redirecting to /logout to force the logout
[00:07:02]                 │ debg Waiting on the login form to appear
[00:07:02]                 │ debg Waiting up to 100000ms for login form...
[00:07:02]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:02]                 │ debg browser[INFO] http://localhost:6141/logout?_t=1581043086632 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:02]                 │
[00:07:02]                 │ 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:05]                 │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 520:138197 "INFO: 2020-02-07T02:38:08Z
[00:07:05]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:07:05]                 │
[00:07:05]                 │      "
[00:07:05]                 │ debg browser[INFO] http://localhost:6141/login?_t=1581043086632 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:05]                 │
[00:07: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:07:05]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:06]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:08]                 │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 520:138197 "INFO: 2020-02-07T02:38:11Z
[00:07:08]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:07:08]                 │
[00:07:08]                 │      "
[00:07:08]               └-: global discover all privileges
[00:07:08]                 └-> "before all" hook
[00:07:08]                 └-> "before all" hook
[00:07:08]                   │ debg creating role global_discover_all_role
[00:07:08]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] added role [global_discover_all_role]
[00:07:08]                   │ debg created role global_discover_all_role
[00:07:08]                   │ debg creating user global_discover_all_user
[00:07:08]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xl-1581040935227532893] added user [global_discover_all_user]
[00:07:08]                   │ debg created user global_discover_all_user
[00:07:08]                   │ debg navigating to login url: http://localhost:6141/login
[00:07:08]                   │ debg Navigate to: http://localhost:6141/login
[00:07:08]                   │ debg ... sleep(700) start
[00:07:08]                   │ debg browser[INFO] http://localhost:6141/login?_t=1581043092320 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:08]                   │
[00:07:08]                   │ 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:09]                   │ debg ... sleep(700) end
[00:07:09]                   │ debg returned from get, calling refresh
[00:07:09]                   │ debg currentUrl = http://localhost:6141/login
[00:07:09]                   │          appUrl = http://localhost:6141/login
[00:07:09]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:07:09]                   │ debg browser[INFO] http://localhost:6141/login?_t=1581043092320 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:09]                   │
[00:07:09]                   │ 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:11]                   │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 520:138197 "INFO: 2020-02-07T02:38:14Z
[00:07:11]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:07:11]                   │
[00:07:11]                   │      "
[00:07:11]                   │ debg ... sleep(501) start
[00:07:11]                   │ debg ... sleep(501) end
[00:07:11]                   │ debg in navigateTo url = http://localhost:6141/login#/
[00:07:11]                   │ debg TestSubjects.exists(statusPageContainer)
[00:07:11]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:07:14]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:07:14]                   │ debg TestSubjects.setValue(loginUsername, global_discover_all_user)
[00:07:14]                   │ debg TestSubjects.click(loginUsername)
[00:07:14]                   │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:07:14]                   │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:07:15]                   │ debg TestSubjects.setValue(loginPassword, global_discover_all_user-password)
[00:07:15]                   │ debg TestSubjects.click(loginPassword)
[00:07:15]                   │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:07:15]                   │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:07:15]                   │ debg TestSubjects.click(loginSubmit)
[00:07:15]                   │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:07:15]                   │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:07:15]                   │ debg Waiting up to 20000ms for logout button visible...
[00:07:15]                   │ debg TestSubjects.exists(userMenuButton)
[00:07:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:07:18]                   │ 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:07:18]                   │
[00:07:18]                   │ 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:07:18]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:07:18]                   │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 520:138197 "INFO: 2020-02-07T02:38:22Z
[00:07:18]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:07:18]                   │
[00:07:18]                   │      "
[00:07:19]                   │ debg TestSubjects.exists(userMenuButton)
[00:07:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:07:19]                   │ debg TestSubjects.exists(userMenu)
[00:07:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:07:22]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:07:23]                   │ debg TestSubjects.click(userMenuButton)
[00:07:23]                   │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:07:23]                   │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:07:23]                   │ debg Waiting up to 20000ms for user menu opened...
[00:07:23]                   │ debg TestSubjects.exists(userMenu)
[00:07:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:07:23]                   │ debg TestSubjects.exists(userMenu > logoutLink)
[00:07:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:07:23]                 └-> shows discover navlink
[00:07:23]                   └-> "before each" hook: global before each
[00:07:23]                   │ debg TestSubjects.find(navDrawer)
[00:07:23]                   │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:07:23]                   └- ✓ pass  (34ms) "discover feature controls security global discover all privileges shows discover navlink"
[00:07:23]                 └-> shows save button
[00:07:23]                   └-> "before each" hook: global before each
[00:07:23]                   │ debg navigating to discover url: http://localhost:6141/app/kibana#/discover
[00:07:23]                   │ debg Navigate to: http://localhost:6141/app/kibana#/discover
[00:07:23]                   │ debg ... sleep(700) start
[00:07:23]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1581043106990#/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:07:23]                   │
[00:07:23]                   │ 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:07:24]                   │ debg ... sleep(700) end
[00:07:24]                   │ debg returned from get, calling refresh
[00:07:24]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1581043106990#/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:07:24]                   │
[00:07:24]                   │ 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:07:24]                   │ debg currentUrl = http://localhost:6141/app/kibana#/discover
[00:07:24]                   │          appUrl = http://localhost:6141/app/kibana#/discover
[00:07:24]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:07:27]                   │ debg TestSubjects.find(kibanaChrome)
[00:07:27]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:07:27]                   │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_3.bundle.dll.js 520:138197 "INFO: 2020-02-07T02:38:30Z
[00:07:27]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:07:27]                   │
[00:07:27]                   │      "
[00:07:27]                   │ debg ... sleep(501) start
[00:07:27]                   │ debg ... sleep(501) end
[00:07:27]                   │ 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:07:27]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:07:28]                   │ debg ... sleep(501) start
[00:07:28]                   │ debg ... sleep(501) end
[00:07:28]                   │ 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:07:28]                   │ debg TestSubjects.exists(statusPageContainer)
[00:07:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:07:31]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:07:31]                   │ debg TestSubjects.exists(discoverSaveButton)
[00:07:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="discoverSaveButton"]') with timeout=20000
[00:07:31]                   └- ✓ pass  (8.6s) "discover feature controls security global discover all privileges shows save button"
[00:07:31]                 └-> doesn't show read-only badge
[00:07:31]                   └-> "before each" hook: global before each
[00:07:31]                   │ debg TestSubjects.missingOrFail(headerBadge)
[00:07:31]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="headerBadge"]') with timeout=2500
[00:07:32]                   └- ✓ pass  (534ms) "discover feature controls security global discover all privileges doesn't show read-only badge"
[00:07:32]                 └-> Permalinks shows create short-url button
[00:07:32]                   └-> "before each" hook: global before each
[00:07:32]                   │ debg openShareMenuItem title:Permalinks
[00:07:32]                   │ debg TestSubjects.exists(shareContextMenu)
[00:07:32]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="shareContextMenu"]') with timeout=2500
[00:07:34]                   │ debg --- retry.tryForTime error: [data-test-subj="shareContextMenu"] is not displayed
[00:07:35]                   │ debg TestSubjects.click(shareTopNavButton)
[00:07:35]                   │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:07:35]                   │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:07:35]                   │ debg Find.findByCssSelector('div.euiContextMenuPanel') with timeout=10000
[00:07:35]                   │ debg TestSubjects.click(sharePanel-Permalinks)
[00:07:35]                   │ debg Find.clickByCssSelector('[data-test-subj="sharePanel-Permalinks"]') with timeout=10000
[00:07:35]                   │ debg Find.findByCssSelector('[data-test-subj="sharePanel-Permalinks"]') with timeout=10000
[00:07:35]                   │ debg Find.waitForElementStale with timeout=10000
[00:07:35]                   │ debg TestSubjects.exists(createShortUrl)
[00:07:35]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="createShortUrl"]') with timeout=120000
[00:07:35]                   │ debg TestSubjects.click(shareTopNavButton)
[00:07:35]                   │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:07:35]                   │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:07:35]                   └- ✓ pass  (3.6s) "discover feature controls security global discover all privileges Permalinks shows create short-url button"
[00:07:35]                 └-> allow saving via the saved query management component popover with no query loaded
[00:07:35]                   └-> "before each" hook: global before each
[00:07:35]                   │ debg TestSubjects.exists(saved-query-management-popover)
[00:07:35]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saved-query-management-popover"]') with timeout=2500
[00:07:38]                   │ debg --- retry.tryForTime error: [data-test-subj="saved-query-management-popover"] is not displayed
[00:07:38]                   │ debg TestSubjects.click(saved-query-management-popover-button)
[00:07:38]                   │ debg Find.clickByCssSelector('[data-test-subj="saved-query-management-popover-button"]') with timeout=10000
[00:07:38]                   │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-popover-button"]') with timeout=10000
[00:07:39]                   │ debg TestSubjects.click(saved-query-management-save-button)
[00:07:39]                   │ debg Find.clickByCssSelector('[data-test-subj="saved-query-management-save-button"]') with timeout=10000
[00:07:39]                   │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-button"]') with timeout=10000
[00:07:39]                   │ debg TestSubjects.exists(saveQueryForm)
[00:07:39]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveQueryForm"]') with timeout=120000
[00:07:41]                   │ debg --- retry.tryForTime error: [data-test-subj="saveQueryForm"] is not displayed
[00:07:44]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:47]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:50]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:53]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:56]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:59]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:02]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:05]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:08]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:11]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:15]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:18]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:21]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:24]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:27]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:30]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:33]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:36]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:39]                   │ debg --- retry.tryForTime failed again with the same message...
[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:51]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:54]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:57]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:00]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:03]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:06]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:09]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:12]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:15]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:18]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:21]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:24]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:27]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:30]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:33]                   │ 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:40]                   │ debg --- retry.try error: expected testSubject(saveQueryForm) to exist
[00:09:41]                   │ 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:09:41]                   │ 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:09:41]                   │ 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:09:41]                   └- ✖ fail: "discover feature controls security global discover all privileges allow saving via the saved query management component popover with no query loaded"
[00:09:41]                   │

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

@XavierM
Copy link
Contributor Author

XavierM commented Feb 7, 2020

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

History

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

@XavierM XavierM merged commit 74b644f into elastic:7.x Feb 7, 2020
@XavierM XavierM deleted the backport/7.x/pr-56813 branch June 4, 2020 16:22
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