Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discover] "View surrounding documents" encodes spaces in filters #78787

Closed
wants to merge 3 commits into from

Conversation

VladLasitsa
Copy link
Contributor

Closes: #72958

Summary

Removed unneeded $httpParamSerializer. We used encodeURI.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@alexwizp
Copy link
Contributor

@elasticmachine merge upstream

@alexwizp
Copy link
Contributor

alexwizp commented Oct 1, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Chrome UI Functional Tests.test/functional/apps/context/_context_navigation·js.context app discover - context - back navigation should go back after loading

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:00:11]         └-: context app
[00:00:11]           └-> "before all" hook
[00:00:11]           └-> "before all" hook
[00:00:11]             │ info [logstash_functional] Loading "mappings.json"
[00:00:11]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:11]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:11]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:11]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:11]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:11]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:21]             │ info progress: 9620
[00:00:25]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:25]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:25]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:25]             │ info [visualize] Loading "mappings.json"
[00:00:25]             │ info [visualize] Loading "data.json"
[00:00:25]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana_1/KdcS0falQ6mEJJUBeahcpw] deleting index
[00:00:25]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:25]             │ info [visualize] Created index ".kibana"
[00:00:25]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana/psXgSzejSwqbml8efMSn2w] update_mapping [_doc]
[00:00:25]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana/psXgSzejSwqbml8efMSn2w] update_mapping [_doc]
[00:00:25]             │ debg Migrating saved objects
[00:00:25]             │ proc [kibana]   log   [15:47:29.415] [info][savedobjects-service] Creating index .kibana_2.
[00:00:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:25]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:25]             │ proc [kibana]   log   [15:47:29.494] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:25]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:26]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:26]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] updating number_of_replicas to [0] for indices [.tasks]
[00:00:26]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] 812 finished with response BulkByScrollResponse[took=64.3ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:26]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana/psXgSzejSwqbml8efMSn2w] deleting index
[00:00:26]             │ proc [kibana]   log   [15:47:29.894] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:26]             │ proc [kibana]   log   [15:47:29.924] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana_2/2qrAZn8lTi-JPZTANXPx2A] update_mapping [_doc]
[00:00:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana_2/2qrAZn8lTi-JPZTANXPx2A] update_mapping [_doc]
[00:00:26]             │ proc [kibana]   log   [15:47:30.045] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:26]             │ proc [kibana]   log   [15:47:30.085] [info][savedobjects-service] Finished in 673ms.
[00:00:26]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana_2/2qrAZn8lTi-JPZTANXPx2A] update_mapping [_doc]
[00:00:27]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:28]             │ debg navigating to discover url: http://localhost:61201/app/discover#/
[00:00:28]             │ debg navigate to: http://localhost:61201/app/discover#/
[00:00:29]             │ debg browser[INFO] http://localhost:61201/app/discover?_t=1601567252510#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:29]             │
[00:00:29]             │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:29]             │ debg ... sleep(700) start
[00:00:29]             │ debg ... sleep(700) end
[00:00:29]             │ debg returned from get, calling refresh
[00:00:30]             │ERROR browser[SEVERE] http://localhost:61201/36853/bundles/plugin/newsfeed/newsfeed.plugin.js 0:18537 TypeError: Failed to fetch
[00:00:30]             │          at Fetch._callee3$ (http://localhost:61201/36853/bundles/core/core.entry.js:6:59174)
[00:00:30]             │          at l (http://localhost:61201/36853/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:380:1020799)
[00:00:30]             │          at Generator._invoke (http://localhost:61201/36853/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:380:1020552)
[00:00:30]             │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61201/36853/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:380:1021156)
[00:00:30]             │          at fetch_asyncGeneratorStep (http://localhost:61201/36853/bundles/core/core.entry.js:6:52493)
[00:00:30]             │          at _throw (http://localhost:61201/36853/bundles/core/core.entry.js:6:52901)
[00:00:30]             │ debg browser[INFO] http://localhost:61201/app/discover?_t=1601567252510#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:30]             │
[00:00:30]             │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:30]             │ debg currentUrl = http://localhost:61201/app/discover#/
[00:00:30]             │          appUrl = http://localhost:61201/app/discover#/
[00:00:30]             │ debg TestSubjects.find(kibanaChrome)
[00:00:30]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:30]             │ debg ... sleep(501) start
[00:00:31]             │ debg ... sleep(501) end
[00:00:31]             │ debg in navigateTo url = http://localhost:61201/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:00:31]             │ debg --- retry.try error: URL changed, waiting for it to settle
[00:00:31]             │ debg ... sleep(501) start
[00:00:32]             │ debg ... sleep(501) end
[00:00:32]             │ debg in navigateTo url = http://localhost:61201/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:00:32]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:32]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:34]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:35]           └-: discover - context - back navigation
[00:00:35]             └-> "before all" hook
[00:00:35]             └-> "before all" hook
[00:00:35]               │ debg applying update to kibana config: {"timepicker:timeDefaults":"{ \"from\": \"2015-09-18T06:31:44.000Z\", \"to\": \"2015-09-23T18:31:44.000Z\"}"}
[00:00:36]               │ debg navigating to discover url: http://localhost:61201/app/discover#/
[00:00:36]               │ debg navigate to: http://localhost:61201/app/discover#/
[00:00:36]               │ debg browser[INFO] http://localhost:61201/app/discover?_t=1601567259604#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:36]               │
[00:00:36]               │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:36]               │ debg ... sleep(700) start
[00:00:37]               │ debg ... sleep(700) end
[00:00:37]               │ debg returned from get, calling refresh
[00:00:37]               │ proc [kibana]   log   [15:47:40.705] [error][data][elasticsearch] [RequestAbortedError]: Request aborted
[00:00:37]               │ debg browser[INFO] http://localhost:61201/app/discover?_t=1601567259604#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:'2015-09-18T06:31:44.000Z',to:'2015-09-23T18:31:44.000Z'))&_a=(columns:!(_source),filters:!(),index:'logstash-*',interval:auto,query:(language:kuery,query:''),sort:!()) 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:37]               │
[00:00:37]               │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:37]               │ debg currentUrl = http://localhost:61201/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-18T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:00:37]               │          appUrl = http://localhost:61201/app/discover#/
[00:00:37]               │ debg TestSubjects.find(kibanaChrome)
[00:00:37]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:37]               │ debg ... sleep(501) start
[00:00:38]               │ debg ... sleep(501) end
[00:00:38]               │ debg in navigateTo url = http://localhost:61201/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-18T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:00:38]               │ debg TestSubjects.exists(statusPageContainer)
[00:00:38]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:40]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:41]               │ debg TestSubjects.click(field-agent)
[00:00:41]               │ debg Find.clickByCssSelector('[data-test-subj="field-agent"]') with timeout=10000
[00:00:41]               │ debg Find.findByCssSelector('[data-test-subj="field-agent"]') with timeout=10000
[00:00:41]               │ debg TestSubjects.exists(plus-agent-Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.50 Safari/534.24)
[00:00:41]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="plus-agent-Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.50 Safari/534.24"]') with timeout=2500
[00:00:41]               │ debg TestSubjects.click(plus-agent-Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.50 Safari/534.24)
[00:00:41]               │ debg Find.clickByCssSelector('[data-test-subj="plus-agent-Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.50 Safari/534.24"]') with timeout=10000
[00:00:41]               │ debg Find.findByCssSelector('[data-test-subj="plus-agent-Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.50 Safari/534.24"]') with timeout=10000
[00:00:41]               │ debg isGlobalLoadingIndicatorVisible
[00:00:41]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:41]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:42]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:42]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:44]               │ debg TestSubjects.click(field-extension)
[00:00:44]               │ debg Find.clickByCssSelector('[data-test-subj="field-extension"]') with timeout=10000
[00:00:44]               │ debg Find.findByCssSelector('[data-test-subj="field-extension"]') with timeout=10000
[00:00:44]               │ debg TestSubjects.exists(plus-extension-jpg)
[00:00:44]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=2500
[00:00:44]               │ debg TestSubjects.click(plus-extension-jpg)
[00:00:44]               │ debg Find.clickByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=10000
[00:00:44]               │ debg Find.findByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=10000
[00:00:44]               │ debg isGlobalLoadingIndicatorVisible
[00:00:44]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:44]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:44]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:44]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:46]             └-> should go back after loading
[00:00:46]               └-> "before each" hook: global before each
[00:00:46]               │ debg Waiting up to 20000ms for user navigating to context and returning to discover...
[00:00:46]               │ debg isGlobalLoadingIndicatorVisible
[00:00:46]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:46]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:48]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:48]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:48]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:48]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:00:48]               │ debg TestSubjects.find(discoverQueryHits)
[00:00:48]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:00:48]               │ debg TestSubjects.find(docTable)
[00:00:48]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:00:48]               │ debg TestSubjects.find(docTable)
[00:00:48]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:00:49]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:49]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:49]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:00:49]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:00:49]               │ debg --- retry.try error: loading context rows
[00:00:49]               │ proc [kibana]   log   [15:47:52.938] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [43], primary term [1]. current document has seqNo [44] and primary term [1]
[00:00:49]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:49]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:49]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:00:49]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:00:49]               │ debg Click Successor Load More Button
[00:00:49]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:49]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:50]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:50]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:50]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:00:50]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:00:50]               │ debg --- retry.try error: loading context rows
[00:00:50]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:50]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:50]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:00:50]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:00:50]               │ debg isGlobalLoadingIndicatorVisible
[00:00:50]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:50]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:52]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:52]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:52]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:52]               │ debg Click Successor Load More Button
[00:00:52]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:52]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:52]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:52]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:52]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:00:52]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:00:52]               │ debg --- retry.try error: loading context rows
[00:00:53]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:53]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:53]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:00:53]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:00:53]               │ debg isGlobalLoadingIndicatorVisible
[00:00:53]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:53]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:55]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:55]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:55]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:55]               │ debg Click Successor Load More Button
[00:00:55]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:55]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:55]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:55]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:55]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:00:55]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:00:55]               │ debg --- retry.try error: loading context rows
[00:00:56]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:56]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:56]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:00:56]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:00:56]               │ debg isGlobalLoadingIndicatorVisible
[00:00:56]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:56]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:57]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:58]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:58]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:58]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:58]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:58]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:00:58]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:00:58]               │ debg Find.waitForAttributeToChange('[data-test-subj="discoverDocTable"]', 'data-render-complete', 'true')
[00:00:58]               │ debg Waiting up to 20000ms for data-render-complete to equal "true"...
[00:00:58]               │ debg Find.findByCssSelector('[data-test-subj="discoverDocTable"]') with timeout=10000
[00:00:58]               │ proc [kibana]   log   [15:48:02.176] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [57], primary term [1]. current document has seqNo [58] and primary term [1]
[00:01:08]               │ debg --- retry.waitFor error: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
[00:01:08]               │      Wait timed out after 10028ms
[00:01:09]               │ debg Find.findByCssSelector('[data-test-subj="discoverDocTable"]') with timeout=10000
[00:01:19]               │ debg --- retry.waitFor error: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
[00:01:19]               │      Wait timed out after 10058ms
[00:01:19]               │ debg --- retry.waitFor error: timed out waiting for data-render-complete to equal "true" -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
[00:01:19]               │      Wait timed out after 10058ms
[00:01:19]               │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:01:19]               │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:20]               │ info Taking screenshot "/dev/shm/workspace/parallel/20/kibana/test/functional/screenshots/failure/context app discover - context - back navigation should go back after loading.png"
[00:01:20]               │ info Current URL is: http://localhost:61201/app/discover#/context/logstash-*/AU_x4AYpGFA8no6QjlVL?_g=(filters:!())&_a=(columns:!(_source),filters:!((%27$state%27:(store:appState),meta:(alias:!n,disabled:!t,index:%27logstash-*%27,key:agent,negate:!f,params:(query:%27Mozilla%2F5.0%20(X11;%20Linux%20i686)%20AppleWebKit%2F534.24%20(KHTML,%20like%20Gecko)%20Chrome%2F11.0.696.50%20Safari%2F534.24%27),type:phrase),query:(match_phrase:(agent:%27Mozilla%2F5.0%20(X11;%20Linux%20i686)%20AppleWebKit%2F534.24%20(KHTML,%20like%20Gecko)%20Chrome%2F11.0.696.50%20Safari%2F534.24%27))),(%27$state%27:(store:appState),meta:(alias:!n,disabled:!t,index:%27logstash-*%27,key:extension,negate:!f,params:(query:jpg),type:phrase),query:(match_phrase:(extension:jpg)))))
[00:01:20]               │ info Saving page source to: /dev/shm/workspace/parallel/20/kibana/test/functional/failure_debug/html/context app discover - context - back navigation should go back after loading.html
[00:01:20]               └- ✖ fail: context app discover - context - back navigation should go back after loading
[00:01:20]               │      timed out waiting for user navigating to context and returning to discover -- last error: Error: timed out waiting for data-render-complete to equal "true" -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
[00:01:20]               │ Wait timed out after 10058ms
[00:01:20]               │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:01:20]               │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:20]               │     at onFailure (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry_for_truthy.ts:50:13)
[00:01:20]               │     at retryForSuccess (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:01:20]               │   Error: timed out waiting for user navigating to context and returning to discover -- last error: Error: timed out waiting for data-render-complete to equal "true" -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
[00:01:20]               │   Wait timed out after 10058ms
[00:01:20]               │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:01:20]               │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:20]               │       at onFailure (test/common/services/retry/retry_for_truthy.ts:50:13)
[00:01:20]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:01:20]               │       at onFailure (test/common/services/retry/retry_for_truthy.ts:50:13)
[00:01:20]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:01:20]               │ 
[00:01:20]               │ 

Stack Trace

Error: timed out waiting for user navigating to context and returning to discover -- last error: Error: timed out waiting for data-render-complete to equal "true" -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
Wait timed out after 10058ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (test/common/services/retry/retry_for_truthy.ts:50:13)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
    at onFailure (test/common/services/retry/retry_for_truthy.ts:50:13)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)

Chrome UI Functional Tests.test/functional/apps/context/_context_navigation·js.context app discover - context - back navigation should go back after loading

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:15]         └-: context app
[00:00:15]           └-> "before all" hook
[00:00:15]           └-> "before all" hook
[00:00:15]             │ info [logstash_functional] Loading "mappings.json"
[00:00:15]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:15]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:15]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:15]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:15]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:15]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:15]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:00:15]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:15]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:15]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:15]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:00:15]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:15]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:25]             │ info progress: 3008
[00:00:35]             │ info progress: 10822
[00:00:38]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:38]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:38]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:38]             │ info [visualize] Loading "mappings.json"
[00:00:38]             │ info [visualize] Loading "data.json"
[00:00:38]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana_1/2aAvp8FKSwCGHUpALe9iMg] deleting index
[00:00:38]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:38]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:38]             │ info [visualize] Created index ".kibana"
[00:00:38]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:38]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana/y9B2JitcSXaXOoNy9ePW1Q] update_mapping [_doc]
[00:00:38]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:38]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana/y9B2JitcSXaXOoNy9ePW1Q] update_mapping [_doc]
[00:00:38]             │ debg Migrating saved objects
[00:00:38]             │ proc [kibana]   log   [15:44:42.810] [info][savedobjects-service] Creating index .kibana_2.
[00:00:38]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:38]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:38]             │ proc [kibana]   log   [15:44:42.898] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:38]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:38]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:39]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:39]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] updating number_of_replicas to [0] for indices [.tasks]
[00:00:39]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] 834 finished with response BulkByScrollResponse[took=75.9ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:39]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana/y9B2JitcSXaXOoNy9ePW1Q] deleting index
[00:00:39]             │ proc [kibana]   log   [15:44:43.316] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:39]             │ proc [kibana]   log   [15:44:43.357] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:39]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana_2/BJ2WEjQnQAKqVccTyhpr3w] update_mapping [_doc]
[00:00:39]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana_2/BJ2WEjQnQAKqVccTyhpr3w] update_mapping [_doc]
[00:00:39]             │ proc [kibana]   log   [15:44:43.481] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:39]             │ proc [kibana]   log   [15:44:43.523] [info][savedobjects-service] Finished in 720ms.
[00:00:39]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:39]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601565942548797577] [.kibana_2/BJ2WEjQnQAKqVccTyhpr3w] update_mapping [_doc]
[00:00:40]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:41]             │ debg navigating to discover url: http://localhost:61201/app/discover#/
[00:00:41]             │ debg navigate to: http://localhost:61201/app/discover#/
[00:00:42]             │ debg browser[INFO] http://localhost:61201/app/discover?_t=1601567085913#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:42]             │
[00:00:42]             │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:42]             │ debg ... sleep(700) start
[00:00:42]             │ debg ... sleep(700) end
[00:00:42]             │ debg returned from get, calling refresh
[00:00:43]             │ debg browser[INFO] http://localhost:61201/app/discover?_t=1601567085913#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:43]             │
[00:00:43]             │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:43]             │ debg currentUrl = http://localhost:61201/app/discover#/
[00:00:43]             │          appUrl = http://localhost:61201/app/discover#/
[00:00:43]             │ debg TestSubjects.find(kibanaChrome)
[00:00:43]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:43]             │ debg ... sleep(501) start
[00:00:44]             │ debg ... sleep(501) end
[00:00:44]             │ debg in navigateTo url = http://localhost:61201/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:00:44]             │ debg --- retry.try error: URL changed, waiting for it to settle
[00:00:44]             │ debg ... sleep(501) start
[00:00:45]             │ debg ... sleep(501) end
[00:00:45]             │ debg in navigateTo url = http://localhost:61201/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:00:45]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:45]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:47]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:48]           └-: discover - context - back navigation
[00:00:48]             └-> "before all" hook
[00:00:48]             └-> "before all" hook
[00:00:48]               │ debg applying update to kibana config: {"timepicker:timeDefaults":"{ \"from\": \"2015-09-18T06:31:44.000Z\", \"to\": \"2015-09-23T18:31:44.000Z\"}"}
[00:00:49]               │ debg navigating to discover url: http://localhost:61201/app/discover#/
[00:00:49]               │ debg navigate to: http://localhost:61201/app/discover#/
[00:00:49]               │ debg browser[INFO] http://localhost:61201/app/discover?_t=1601567092979#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:49]               │
[00:00:49]               │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:49]               │ debg ... sleep(700) start
[00:00:50]               │ debg ... sleep(700) end
[00:00:50]               │ debg returned from get, calling refresh
[00:00:50]               │ proc [kibana]   log   [15:44:54.240] [error][data][elasticsearch] [RequestAbortedError]: Request aborted
[00:00:50]               │ debg browser[INFO] http://localhost:61201/app/discover?_t=1601567092979#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:'2015-09-18T06:31:44.000Z',to:'2015-09-23T18:31:44.000Z'))&_a=(columns:!(_source),filters:!(),index:'logstash-*',interval:auto,query:(language:kuery,query:''),sort:!()) 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:50]               │
[00:00:50]               │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:50]               │ debg currentUrl = http://localhost:61201/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-18T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:00:50]               │          appUrl = http://localhost:61201/app/discover#/
[00:00:50]               │ debg TestSubjects.find(kibanaChrome)
[00:00:50]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:51]               │ debg ... sleep(501) start
[00:00:51]               │ debg ... sleep(501) end
[00:00:51]               │ debg in navigateTo url = http://localhost:61201/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-18T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:00:51]               │ debg TestSubjects.exists(statusPageContainer)
[00:00:51]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:54]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:55]               │ debg TestSubjects.click(field-agent)
[00:00:55]               │ debg Find.clickByCssSelector('[data-test-subj="field-agent"]') with timeout=10000
[00:00:55]               │ debg Find.findByCssSelector('[data-test-subj="field-agent"]') with timeout=10000
[00:00:55]               │ debg TestSubjects.exists(plus-agent-Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.50 Safari/534.24)
[00:00:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="plus-agent-Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.50 Safari/534.24"]') with timeout=2500
[00:00:55]               │ debg TestSubjects.click(plus-agent-Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.50 Safari/534.24)
[00:00:55]               │ debg Find.clickByCssSelector('[data-test-subj="plus-agent-Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.50 Safari/534.24"]') with timeout=10000
[00:00:55]               │ debg Find.findByCssSelector('[data-test-subj="plus-agent-Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.50 Safari/534.24"]') with timeout=10000
[00:00:55]               │ debg isGlobalLoadingIndicatorVisible
[00:00:55]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:56]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:56]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:58]               │ debg TestSubjects.click(field-extension)
[00:00:58]               │ debg Find.clickByCssSelector('[data-test-subj="field-extension"]') with timeout=10000
[00:00:58]               │ debg Find.findByCssSelector('[data-test-subj="field-extension"]') with timeout=10000
[00:00:58]               │ debg TestSubjects.exists(plus-extension-jpg)
[00:00:58]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=2500
[00:00:58]               │ debg TestSubjects.click(plus-extension-jpg)
[00:00:58]               │ debg Find.clickByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=10000
[00:00:58]               │ debg Find.findByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=10000
[00:00:58]               │ debg isGlobalLoadingIndicatorVisible
[00:00:58]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:58]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:58]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:58]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:00]             └-> should go back after loading
[00:01:00]               └-> "before each" hook: global before each
[00:01:00]               │ debg Waiting up to 20000ms for user navigating to context and returning to discover...
[00:01:00]               │ debg isGlobalLoadingIndicatorVisible
[00:01:00]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:00]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:02]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:02]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:02]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:02]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:01:02]               │ debg TestSubjects.find(discoverQueryHits)
[00:01:02]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:01:03]               │ debg TestSubjects.find(docTable)
[00:01:03]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:01:03]               │ debg TestSubjects.find(docTable)
[00:01:03]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:01:03]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:03]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:03]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:03]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:03]               │ debg --- retry.try error: loading context rows
[00:01:03]               │ proc [kibana]   log   [15:45:07.909] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [38], primary term [1]. current document has seqNo [39] and primary term [1]
[00:01:04]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:04]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:04]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:04]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:04]               │ debg Click Successor Load More Button
[00:01:04]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:04]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:04]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:04]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:04]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:04]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:04]               │ debg --- retry.try error: loading context rows
[00:01:04]               │ proc [kibana]   log   [15:45:08.676] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [41], primary term [1]. current document has seqNo [42] and primary term [1]
[00:01:05]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:05]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:05]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:05]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:05]               │ debg isGlobalLoadingIndicatorVisible
[00:01:05]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:05]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:06]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:07]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:07]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:07]               │ debg Click Successor Load More Button
[00:01:07]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:07]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:07]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:07]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:07]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:07]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:07]               │ debg --- retry.try error: loading context rows
[00:01:07]               │ proc [kibana]   log   [15:45:11.533] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [44], primary term [1]. current document has seqNo [45] and primary term [1]
[00:01:08]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:08]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:08]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:08]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:08]               │ debg isGlobalLoadingIndicatorVisible
[00:01:08]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:08]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:09]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:10]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:10]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:10]               │ debg Click Successor Load More Button
[00:01:10]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:10]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:10]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:10]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:10]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:10]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:10]               │ debg --- retry.try error: loading context rows
[00:01:10]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:10]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:10]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:10]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:11]               │ debg isGlobalLoadingIndicatorVisible
[00:01:11]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:11]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:12]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:13]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:13]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:13]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:13]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:13]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:13]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:13]               │ debg Find.waitForAttributeToChange('[data-test-subj="discoverDocTable"]', 'data-render-complete', 'true')
[00:01:13]               │ debg Waiting up to 20000ms for data-render-complete to equal "true"...
[00:01:13]               │ debg Find.findByCssSelector('[data-test-subj="discoverDocTable"]') with timeout=10000
[00:01:23]               │ debg --- retry.waitFor error: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
[00:01:23]               │      Wait timed out after 10005ms
[00:01:23]               │ debg Find.findByCssSelector('[data-test-subj="discoverDocTable"]') with timeout=10000
[00:01:33]               │ debg --- retry.waitFor error: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
[00:01:33]               │      Wait timed out after 10048ms
[00:01:34]               │ debg --- retry.waitFor error: timed out waiting for data-render-complete to equal "true" -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
[00:01:34]               │      Wait timed out after 10048ms
[00:01:34]               │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:01:34]               │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:34]               │ info Taking screenshot "/dev/shm/workspace/parallel/20/kibana/test/functional/screenshots/failure/context app discover - context - back navigation should go back after loading.png"
[00:01:34]               │ info Current URL is: http://localhost:61201/app/discover#/context/logstash-*/AU_x4AYpGFA8no6QjlVL?_g=(filters:!())&_a=(columns:!(_source),filters:!((%27$state%27:(store:appState),meta:(alias:!n,disabled:!t,index:%27logstash-*%27,key:agent,negate:!f,params:(query:%27Mozilla%2F5.0%20(X11;%20Linux%20i686)%20AppleWebKit%2F534.24%20(KHTML,%20like%20Gecko)%20Chrome%2F11.0.696.50%20Safari%2F534.24%27),type:phrase),query:(match_phrase:(agent:%27Mozilla%2F5.0%20(X11;%20Linux%20i686)%20AppleWebKit%2F534.24%20(KHTML,%20like%20Gecko)%20Chrome%2F11.0.696.50%20Safari%2F534.24%27))),(%27$state%27:(store:appState),meta:(alias:!n,disabled:!t,index:%27logstash-*%27,key:extension,negate:!f,params:(query:jpg),type:phrase),query:(match_phrase:(extension:jpg)))))
[00:01:35]               │ info Saving page source to: /dev/shm/workspace/parallel/20/kibana/test/functional/failure_debug/html/context app discover - context - back navigation should go back after loading.html
[00:01:35]               └- ✖ fail: context app discover - context - back navigation should go back after loading
[00:01:35]               │      timed out waiting for user navigating to context and returning to discover -- last error: Error: timed out waiting for data-render-complete to equal "true" -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
[00:01:35]               │ Wait timed out after 10048ms
[00:01:35]               │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:01:35]               │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:35]               │     at onFailure (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry_for_truthy.ts:50:13)
[00:01:35]               │     at retryForSuccess (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:01:35]               │   Error: timed out waiting for user navigating to context and returning to discover -- last error: Error: timed out waiting for data-render-complete to equal "true" -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
[00:01:35]               │   Wait timed out after 10048ms
[00:01:35]               │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:01:35]               │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:35]               │       at onFailure (test/common/services/retry/retry_for_truthy.ts:50:13)
[00:01:35]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:01:35]               │       at onFailure (test/common/services/retry/retry_for_truthy.ts:50:13)
[00:01:35]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:01:35]               │ 
[00:01:35]               │ 

Stack Trace

Error: timed out waiting for user navigating to context and returning to discover -- last error: Error: timed out waiting for data-render-complete to equal "true" -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
Wait timed out after 10048ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (test/common/services/retry/retry_for_truthy.ts:50:13)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
    at onFailure (test/common/services/retry/retry_for_truthy.ts:50:13)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)

Metrics [docs]

async chunks size

id before after diff
discover 433.1KB 433.0KB -47.0B

History

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

@alexwizp
Copy link
Contributor

alexwizp commented Oct 2, 2020

Issue will be closed in #79283

@alexwizp alexwizp closed this Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Discover] "View surrounding documents" encodes spaces in filters
4 participants