Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[7.8] [Discover] Unskip context navigation functional test (#68771) #69719

Closed
wants to merge 4 commits into from

Conversation

kertal
Copy link
Member

@kertal kertal commented Jun 23, 2020

Backports the following commits to 7.8:

# Conflicts:
#	test/functional/apps/context/_context_navigation.js
@kertal
Copy link
Member Author

kertal commented Jul 8, 2020

@elasticmachine merge upstream

@kertal
Copy link
Member Author

kertal commented Jul 8, 2020

@elasticmachine merge upstream

@kertal
Copy link
Member Author

kertal commented Jul 14, 2020

@elasticmachine merge upstream

@kertal
Copy link
Member Author

kertal commented Jul 14, 2020

closing this because this test works starting with v7.9.0, before the URL was missing encodeURI

@kertal kertal closed this Jul 14, 2020
@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-oss-agent / 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:13]         └-: context app
[00:00:13]           └-> "before all" hook
[00:00:13]           └-> "before all" hook
[00:00:13]             │ info [logstash_functional] Loading "mappings.json"
[00:00:13]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:13]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:00:13]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:13]             │ 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:13]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:00:13]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:13]             │ 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:13]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:00:14]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:14]             │ 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:23]             │ info progress: 7219
[00:00:29]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:29]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:29]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:29]             │ info [visualize] Loading "mappings.json"
[00:00:29]             │ info [visualize] Loading "data.json"
[00:00:30]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_1/3mksPl6vQICfyaGOz93sNg] deleting index
[00:00:30]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:30]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:30]             │ info [visualize] Created index ".kibana"
[00:00:30]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana/dtWE5GJyR4itm2rCuMWIPA] update_mapping [_doc]
[00:00:30]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana/dtWE5GJyR4itm2rCuMWIPA] update_mapping [_doc]
[00:00:30]             │ debg Migrating saved objects
[00:00:30]             │ proc [kibana]   log   [09:09:39.882] [info][savedobjects-service] Creating index .kibana_2.
[00:00:30]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:30]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:30]             │ proc [kibana]   log   [09:09:39.996] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:30]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:30]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:30]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [task]
[00:00:30]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] updating number_of_replicas to [0] for indices [.tasks]
[00:00:30]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] 864 finished with response BulkByScrollResponse[took=103.2ms,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:30]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana/dtWE5GJyR4itm2rCuMWIPA] deleting index
[00:00:30]             │ proc [kibana]   log   [09:09:40.449] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:30]             │ proc [kibana]   log   [09:09:40.477] [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:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_2/6YEswLX5Q8GVNQmjCtiRtA] update_mapping [_doc]
[00:00:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_2/6YEswLX5Q8GVNQmjCtiRtA] update_mapping [_doc]
[00:00:31]             │ proc [kibana]   log   [09:09:40.594] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:31]             │ proc [kibana]   log   [09:09:40.648] [info][savedobjects-service] Finished in 770ms.
[00:00:31]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_2/6YEswLX5Q8GVNQmjCtiRtA] update_mapping [_doc]
[00:00:32]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:32]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_2/6YEswLX5Q8GVNQmjCtiRtA] update_mapping [_doc]
[00:00:33]             │ debg navigating to discover url: http://localhost:6121/app/kibana#/discover
[00:00:33]             │ debg navigate to: http://localhost:6121/app/kibana#/discover
[00:00:33]             │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1594717783041#/discover 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:33]             │
[00:00:33]             │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:33]             │ debg ... sleep(700) start
[00:00:34]             │ debg ... sleep(700) end
[00:00:34]             │ debg returned from get, calling refresh
[00:00:34]             │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1594717783041#/discover 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:34]             │
[00:00:34]             │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:34]             │ debg currentUrl = http://localhost:6121/app/kibana#/discover
[00:00:34]             │          appUrl = http://localhost:6121/app/kibana#/discover
[00:00:34]             │ debg TestSubjects.find(kibanaChrome)
[00:00:34]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:36]             │ debg TestSubjects.find(kibanaChrome)
[00:00:36]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:36]             │ debg browser[INFO] http://localhost:6121/32120/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-07-14T09:09:45Z
[00:00:36]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:36]             │
[00:00:36]             │      "
[00:00:36]             │ debg ... sleep(501) start
[00:00:37]             │ debg ... sleep(501) end
[00:00:37]             │ debg in navigateTo url = http://localhost:6121/app/kibana#/discover
[00:00:37]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:37]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:39]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:40]           └-: discover - context - back navigation
[00:00:40]             └-> "before all" hook
[00:00:40]             └-> "before all" hook
[00:00:40]               │ debg applying update to kibana config: {"timepicker:timeDefaults":"{ \"from\": \"2015-09-18T06:31:44.000Z\", \"to\": \"2015-09-23T18:31:44.000Z\"}"}
[00:00:40]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_2/6YEswLX5Q8GVNQmjCtiRtA] update_mapping [_doc]
[00:00:40]               │ debg navigating to discover url: http://localhost:6121/app/kibana#/discover
[00:00:40]               │ debg navigate to: http://localhost:6121/app/kibana#/discover
[00:00:40]               │ debg ... sleep(700) start
[00:00:40]               │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1594717790149#/discover 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:40]               │
[00:00:40]               │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:41]               │ debg ... sleep(700) end
[00:00:41]               │ debg returned from get, calling refresh
[00:00:42]               │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1594717790149#/discover 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:6121/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:42]               │ debg currentUrl = http://localhost:6121/app/kibana#/discover
[00:00:42]               │          appUrl = http://localhost:6121/app/kibana#/discover
[00:00:42]               │ debg TestSubjects.find(kibanaChrome)
[00:00:42]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:42]               │ debg browser[INFO] http://localhost:6121/32120/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-07-14T09:09:52Z
[00:00:42]               │        Adding connection to http://localhost:6121/elasticsearch
[00:00:42]               │
[00:00:42]               │      "
[00:00:42]               │ debg TestSubjects.find(kibanaChrome)
[00:00:42]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:42]               │ debg ... sleep(501) start
[00:00:43]               │ debg ... sleep(501) end
[00:00:43]               │ debg in navigateTo url = http://localhost:6121/app/kibana#/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:43]               │ debg --- retry.try error: URL changed, waiting for it to settle
[00:00:43]               │ debg ... sleep(501) start
[00:00:44]               │ debg ... sleep(501) end
[00:00:44]               │ debg in navigateTo url = http://localhost:6121/app/kibana#/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:44]               │ debg TestSubjects.exists(statusPageContainer)
[00:00:44]               │ 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:47]               │ debg TestSubjects.click(field-extension)
[00:00:47]               │ debg Find.clickByCssSelector('[data-test-subj="field-extension"]') with timeout=10000
[00:00:47]               │ debg Find.findByCssSelector('[data-test-subj="field-extension"]') with timeout=10000
[00:00:47]               │ debg TestSubjects.exists(plus-extension-jpg)
[00:00:47]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=2500
[00:00:47]               │ debg TestSubjects.click(plus-extension-jpg)
[00:00:47]               │ debg Find.clickByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=10000
[00:00:47]               │ debg Find.findByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=10000
[00:00:48]               │ debg isGlobalLoadingIndicatorVisible
[00:00:48]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:48]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:48]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:48]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:49]               │ debg TestSubjects.click(field-agent)
[00:00:49]               │ debg Find.clickByCssSelector('[data-test-subj="field-agent"]') with timeout=10000
[00:00:49]               │ debg Find.findByCssSelector('[data-test-subj="field-agent"]') with timeout=10000
[00:00:50]               │ 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:50]               │ 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:50]               │ 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:50]               │ 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:50]               │ 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: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:50]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:50]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:52]             └-> should go back after loading
[00:00:52]               └-> "before each" hook: global before each
[00:00:52]               │ debg Waiting up to 20000ms for user navigating to context and returning to discover...
[00:00:52]               │ debg isGlobalLoadingIndicatorVisible
[00:00:52]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:52]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:54]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:54]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:54]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:54]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:00:54]               │ debg TestSubjects.find(discoverQueryHits)
[00:00:54]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:00:54]               │ debg TestSubjects.find(docTable)
[00:00:54]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:00:54]               │ debg TestSubjects.find(docTable)
[00:00:54]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') 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 Click Successor Load More Button
[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(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:57]               │ debg isGlobalLoadingIndicatorVisible
[00:00:57]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:57]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:58]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:59]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:59]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:59]               │ debg Click Successor Load More Button
[00:00:59]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:59]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:59]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:59]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:59]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:00:59]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:00:59]               │ debg isGlobalLoadingIndicatorVisible
[00:00:59]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:01]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:01]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:01]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:01]               │ debg Click Successor Load More Button
[00:01:01]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:01]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:01]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:01]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:02]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:02]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:02]               │ debg --- retry.try error: loading context rows
[00:01:02]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:02]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:02]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:02]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:02]               │ debg isGlobalLoadingIndicatorVisible
[00:01:02]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:02]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:04]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:04]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:04]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[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 Find.waitForAttributeToChange('[data-test-subj="discoverDocTable"]', 'data-render-complete', 'true')
[00:01:04]               │ debg Waiting up to 20000ms for data-render-complete to equal "true"...
[00:01:04]               │ debg Find.findByCssSelector('[data-test-subj="discoverDocTable"]') with timeout=10000
[00:01:15]               │ debg --- retry.waitFor error: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
[00:01:15]               │      Wait timed out after 10059ms
[00:01:15]               │ debg Find.findByCssSelector('[data-test-subj="discoverDocTable"]') with timeout=10000
[00:01:25]               │ debg --- retry.waitFor error: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
[00:01:25]               │      Wait timed out after 10041ms
[00:01:26]               │ 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:26]               │      Wait timed out after 10041ms
[00:01:26]               │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:01:26]               │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:26]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/context app discover - context - back navigation should go back after loading.png"
[00:01:26]               │ info Current URL is: http://localhost:6121/app/kibana#/discover/context/logstash-*/AU_x4AYpGFA8no6QjlVL?_a=(columns:!(_source),filters:!((%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))),(%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)))))&_g=(filters:!())
[00:01:26]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/context app discover - context - back navigation should go back after loading.html
[00:01:26]               └- ✖ fail: "context app discover - context - back navigation should go back after loading"
[00:01:26]               │

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 10041ms
    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)

Kibana Pipeline / kibana-oss-agent / 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:13]         └-: context app
[00:00:13]           └-> "before all" hook
[00:00:13]           └-> "before all" hook
[00:00:13]             │ info [logstash_functional] Loading "mappings.json"
[00:00:13]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:13]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:00:13]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:13]             │ 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:13]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:00:14]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:14]             │ 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:14]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:00:14]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:14]             │ 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:23]             │ info progress: 10524
[00:00:26]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:26]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:26]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:26]             │ info [visualize] Loading "mappings.json"
[00:00:26]             │ info [visualize] Loading "data.json"
[00:00:27]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_1/afu2Pd30TSG5jLWkjxM-Fw] deleting index
[00:00:27]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:27]             │ info [visualize] Created index ".kibana"
[00:00:27]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana/rhD-g0y5S2mgh7GcLogd2w] update_mapping [_doc]
[00:00:27]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana/rhD-g0y5S2mgh7GcLogd2w] update_mapping [_doc]
[00:00:27]             │ debg Migrating saved objects
[00:00:27]             │ proc [kibana]   log   [09:06:21.740] [info][savedobjects-service] Creating index .kibana_2.
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:27]             │ proc [kibana]   log   [09:06:21.856] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [task]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] updating number_of_replicas to [0] for indices [.tasks]
[00:00:27]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] 832 finished with response BulkByScrollResponse[took=156.1ms,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:28]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana/rhD-g0y5S2mgh7GcLogd2w] deleting index
[00:00:28]             │ proc [kibana]   log   [09:06:22.589] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:28]             │ proc [kibana]   log   [09:06:22.616] [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:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_2/zmuTlPN4Q2KUggBvsZ4Pjw] update_mapping [_doc]
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_2/zmuTlPN4Q2KUggBvsZ4Pjw] update_mapping [_doc]
[00:00:28]             │ proc [kibana]   log   [09:06:22.745] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:28]             │ proc [kibana]   log   [09:06:22.815] [info][savedobjects-service] Finished in 1078ms.
[00:00:28]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:29]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_2/zmuTlPN4Q2KUggBvsZ4Pjw] update_mapping [_doc]
[00:00:30]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_2/zmuTlPN4Q2KUggBvsZ4Pjw] update_mapping [_doc]
[00:00:31]             │ debg navigating to discover url: http://localhost:6121/app/kibana#/discover
[00:00:31]             │ debg navigate to: http://localhost:6121/app/kibana#/discover
[00:00:31]             │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1594717585921#/discover 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:31]             │
[00:00:31]             │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:31]             │ debg ... sleep(700) start
[00:00:32]             │ debg ... sleep(700) end
[00:00:32]             │ debg returned from get, calling refresh
[00:00:33]             │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1594717585921#/discover 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:33]             │
[00:00:33]             │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:33]             │ debg currentUrl = http://localhost:6121/app/kibana#/discover
[00:00:33]             │          appUrl = http://localhost:6121/app/kibana#/discover
[00:00:33]             │ debg TestSubjects.find(kibanaChrome)
[00:00:33]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:34]             │ debg TestSubjects.find(kibanaChrome)
[00:00:34]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:34]             │ debg browser[INFO] http://localhost:6121/32120/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-07-14T09:06:28Z
[00:00:34]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:34]             │
[00:00:34]             │      "
[00:00:34]             │ debg ... sleep(501) start
[00:00:35]             │ debg ... sleep(501) end
[00:00:35]             │ debg in navigateTo url = http://localhost:6121/app/kibana#/discover
[00:00:35]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:35]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:37]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:38]           └-: discover - context - back navigation
[00:00:38]             └-> "before all" hook
[00:00:38]             └-> "before all" hook
[00:00:38]               │ debg applying update to kibana config: {"timepicker:timeDefaults":"{ \"from\": \"2015-09-18T06:31:44.000Z\", \"to\": \"2015-09-23T18:31:44.000Z\"}"}
[00:00:38]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594716411885529138] [.kibana_2/zmuTlPN4Q2KUggBvsZ4Pjw] update_mapping [_doc]
[00:00:38]               │ debg navigating to discover url: http://localhost:6121/app/kibana#/discover
[00:00:38]               │ debg navigate to: http://localhost:6121/app/kibana#/discover
[00:00:38]               │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1594717593014#/discover 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:38]               │
[00:00:38]               │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:38]               │ debg ... sleep(700) start
[00:00:39]               │ debg ... sleep(700) end
[00:00:39]               │ debg returned from get, calling refresh
[00:00:40]               │ debg browser[INFO] http://localhost:6121/32120/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-07-14T09:06:34Z
[00:00:40]               │        Adding connection to http://localhost:6121/elasticsearch
[00:00:40]               │
[00:00:40]               │      "
[00:00:40]               │ERROR browser[SEVERE] http://localhost:6121/32120/bundles/commons.bundle.js 0:1256911 TypeError: Failed to fetch
[00:00:40]               │          at Fetch._callee3$ (http://localhost:6121/32120/bundles/commons.bundle.js:1:1285858)
[00:00:40]               │          at l (http://localhost:6121/32120/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:969200)
[00:00:40]               │          at Generator._invoke (http://localhost:6121/32120/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:968953)
[00:00:40]               │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6121/32120/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:969557)
[00:00:40]               │          at asyncGeneratorStep (http://localhost:6121/32120/bundles/commons.bundle.js:1:1280355)
[00:00:40]               │          at _throw (http://localhost:6121/32120/bundles/commons.bundle.js:1:1280752)
[00:00:40]               │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1594717593014#/discover 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:40]               │
[00:00:40]               │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:40]               │ debg currentUrl = http://localhost:6121/app/kibana#/discover
[00:00:40]               │          appUrl = http://localhost:6121/app/kibana#/discover
[00:00:40]               │ debg TestSubjects.find(kibanaChrome)
[00:00:40]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:40]               │ debg browser[INFO] http://localhost:6121/32120/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-07-14T09:06:34Z
[00:00:40]               │        Adding connection to http://localhost:6121/elasticsearch
[00:00:40]               │
[00:00:40]               │      "
[00:00:40]               │ debg TestSubjects.find(kibanaChrome)
[00:00:40]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:40]               │ debg ... sleep(501) start
[00:00:41]               │ debg ... sleep(501) end
[00:00:41]               │ debg in navigateTo url = http://localhost:6121/app/kibana#/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:41]               │ debg --- retry.try error: URL changed, waiting for it to settle
[00:00:41]               │ debg ... sleep(501) start
[00:00:42]               │ debg ... sleep(501) end
[00:00:43]               │ debg in navigateTo url = http://localhost:6121/app/kibana#/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:43]               │ debg TestSubjects.exists(statusPageContainer)
[00:00:43]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:46]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:46]               │ debg TestSubjects.click(field-extension)
[00:00:46]               │ debg Find.clickByCssSelector('[data-test-subj="field-extension"]') with timeout=10000
[00:00:46]               │ debg Find.findByCssSelector('[data-test-subj="field-extension"]') with timeout=10000
[00:00:46]               │ debg TestSubjects.exists(plus-extension-jpg)
[00:00:46]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=2500
[00:00:47]               │ debg TestSubjects.click(plus-extension-jpg)
[00:00:47]               │ debg Find.clickByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=10000
[00:00:47]               │ debg Find.findByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=10000
[00:00:47]               │ debg isGlobalLoadingIndicatorVisible
[00:00:47]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:47]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:47]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:47]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:49]               │ debg TestSubjects.click(field-agent)
[00:00:49]               │ debg Find.clickByCssSelector('[data-test-subj="field-agent"]') with timeout=10000
[00:00:49]               │ debg Find.findByCssSelector('[data-test-subj="field-agent"]') with timeout=10000
[00:00:49]               │ 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:49]               │ 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:49]               │ 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:49]               │ 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:49]               │ 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:49]               │ debg isGlobalLoadingIndicatorVisible
[00:00:49]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:49]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:49]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:49]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:51]             └-> should go back after loading
[00:00:51]               └-> "before each" hook: global before each
[00:00:51]               │ debg Waiting up to 20000ms for user navigating to context and returning to discover...
[00:00:51]               │ debg isGlobalLoadingIndicatorVisible
[00:00:51]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:51]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:53]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:53]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:53]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:53]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:00:53]               │ debg TestSubjects.find(discoverQueryHits)
[00:00:53]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:00:53]               │ debg TestSubjects.find(docTable)
[00:00:53]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:00:54]               │ debg TestSubjects.find(docTable)
[00:00:54]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:00:54]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:54]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:54]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:00:54]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:00:55]               │ debg --- retry.try error: loading context rows
[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 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 Click Successor Load More Button
[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(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 --- retry.try error: loading context rows
[00:00:59]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:00:59]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:00:59]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:00:59]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:00:59]               │ debg isGlobalLoadingIndicatorVisible
[00:00:59]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:00]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:01]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:01]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:01]               │ debg Click Successor Load More Button
[00:01:01]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:01]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:01]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:01]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:01]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:01]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:01]               │ debg --- retry.try error: loading context rows
[00:01:02]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:02]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:02]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:02]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:02]               │ debg isGlobalLoadingIndicatorVisible
[00:01:02]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:02]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:03]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:04]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:04]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[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 Find.waitForAttributeToChange('[data-test-subj="discoverDocTable"]', 'data-render-complete', 'true')
[00:01:04]               │ debg Waiting up to 20000ms for data-render-complete to equal "true"...
[00:01:04]               │ debg Find.findByCssSelector('[data-test-subj="discoverDocTable"]') with timeout=10000
[00:01:14]               │ debg --- retry.waitFor error: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
[00:01:14]               │      Wait timed out after 10074ms
[00:01:15]               │ debg Find.findByCssSelector('[data-test-subj="discoverDocTable"]') with timeout=10000
[00:01:25]               │ debg --- retry.waitFor error: Waiting for element to be located By(css selector, [data-test-subj="discoverDocTable"])
[00:01:25]               │      Wait timed out after 10041ms
[00:01:25]               │ 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:25]               │      Wait timed out after 10041ms
[00:01:25]               │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:01:25]               │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:26]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/context app discover - context - back navigation should go back after loading.png"
[00:01:26]               │ info Current URL is: http://localhost:6121/app/kibana#/discover/context/logstash-*/AU_x4AYpGFA8no6QjlVL?_a=(columns:!(_source),filters:!((%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))),(%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)))))&_g=(filters:!())
[00:01:26]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/context app discover - context - back navigation should go back after loading.html
[00:01:26]               └- ✖ fail: "context app discover - context - back navigation should go back after loading"
[00:01:26]               │

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 10041ms
    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)

Build metrics

✅ unchanged

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants