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.x] fix createAppNavigationHandler to use navigateToUrl (#78583) #78663

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

pgayvallet
Copy link
Contributor

Backports the following commits to 7.x:

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/discover/async_scripted_fields·js.discover async search with scripted fields query return results with valid scripted field

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: discover
[00:00:00]           └-> "before all" hook
[00:08:26]           └-: async search with scripted fields
[00:08:26]             └-> "before all" hook
[00:08:26]             └-> "before all" hook
[00:08:26]               │ info [kibana_scripted_fields_on_logstash] Loading "mappings.json"
[00:08:26]               │ info [kibana_scripted_fields_on_logstash] Loading "data.json.gz"
[00:08:26]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] [.kibana_1/byDCxyHnS3enDgq4SJp8nA] deleting index
[00:08:26]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] [.kibana_2/4vdfdIV_TGKhMn_h0GWxqQ] deleting index
[00:08:26]               │ info [kibana_scripted_fields_on_logstash] Deleted existing index [".kibana_2",".kibana_1"]
[00:08:26]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:08:26]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:08:26]               │ info [kibana_scripted_fields_on_logstash] Created index ".kibana_1"
[00:08:26]               │ debg [kibana_scripted_fields_on_logstash] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:08:26]               │ info [kibana_scripted_fields_on_logstash] Indexed 19 docs into ".kibana_1"
[00:08:26]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] [.kibana_1/XU9alAxEQiiNAbpbdMeZZA] update_mapping [_doc]
[00:08:26]               │ debg Migrating saved objects
[00:08:26]               │ proc [kibana]   log   [19:14:00.562] [info][savedobjects-service] Creating index .kibana_2.
[00:08:26]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:08:26]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] updating number_of_replicas to [0] for indices [.kibana_2]
[00:08:26]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:08:26]               │ proc [kibana]   log   [19:14:00.638] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:08:26]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] [.kibana_2/o1aLmCIAS32Hs5Rc_h-bnQ] update_mapping [_doc]
[00:08:26]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] [.kibana_2/o1aLmCIAS32Hs5Rc_h-bnQ] update_mapping [_doc]
[00:08:26]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] [.kibana_2/o1aLmCIAS32Hs5Rc_h-bnQ] update_mapping [_doc]
[00:08:26]               │ proc [kibana]   log   [19:14:00.813] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:08:27]               │ proc [kibana]   log   [19:14:00.854] [info][savedobjects-service] Finished in 294ms.
[00:08:27]               │ info [logstash_functional] Loading "mappings.json"
[00:08:27]               │ info [logstash_functional] Loading "data.json.gz"
[00:08:27]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:08:27]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:08:27]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:08:28]               │ debg set roles = test_logstash_reader,global_discover_read
[00:08:28]               │ debg creating user test_user
[00:08:28]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] updated user [test_user]
[00:08:28]               │ debg created user test_user
[00:08:28]               │ debg TestSubjects.exists(kibanaChrome)
[00:08:28]               │ debg Find.existsByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=2500
[00:08:28]               │ debg TestSubjects.find(kibanaChrome)
[00:08:28]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=100000
[00:08:28]               │ debg browser[INFO] http://localhost:61151/spaces/space_selector#/view/b871c590-01be-11eb-b9f1-2d24c1917cee?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_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:08:28]               │
[00:08:28]               │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:30]               │ debg applying update to kibana config: {"timepicker:timeDefaults":"{  \"from\": \"Sep 18, 2015 @ 19:37:13.000\",  \"to\": \"Sep 23, 2015 @ 02:30:09.000\"}"}
[00:08:30]             └-> query should show failed shards pop up
[00:08:30]               └-> "before each" hook: global before each
[00:08:30]               │ debg navigating to discover url: http://localhost:61151/app/discover#/
[00:08:30]               │ debg navigate to: http://localhost:61151/app/discover#/
[00:08:30]               │ debg browser[INFO] http://localhost:61151/app/discover?_t=1601320444625#/ 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:08:30]               │
[00:08:30]               │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:30]               │ debg ... sleep(700) start
[00:08:31]               │ debg ... sleep(700) end
[00:08:31]               │ debg returned from get, calling refresh
[00:08:32]               │ERROR browser[SEVERE] http://localhost:61151/35157/bundles/core/core.entry.js 89:271530 TypeError: Failed to fetch
[00:08:32]               │          at Fetch._callee3$ (http://localhost:61151/35157/bundles/core/core.entry.js:26:106441)
[00:08:32]               │          at l (http://localhost:61151/35157/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:1020669)
[00:08:32]               │          at Generator._invoke (http://localhost:61151/35157/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:1020422)
[00:08:32]               │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61151/35157/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:1021026)
[00:08:32]               │          at fetch_asyncGeneratorStep (http://localhost:61151/35157/bundles/core/core.entry.js:26:100510)
[00:08:32]               │          at _throw (http://localhost:61151/35157/bundles/core/core.entry.js:26:100918)
[00:08:32]               │ debg browser[INFO] http://localhost:61151/app/discover?_t=1601320444625#/ 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:08:32]               │
[00:08:32]               │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:32]               │ debg currentUrl = http://localhost:61151/app/discover#/
[00:08:32]               │          appUrl = http://localhost:61151/app/discover#/
[00:08:32]               │ debg TestSubjects.find(kibanaChrome)
[00:08:32]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:08:33]               │ debg ... sleep(501) start
[00:08:33]               │ debg browser[WARNING] http://localhost:61151/35157/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 20:69483 "Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
[00:08:33]               │      Arguments: 
[00:08:33]               │      [0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: Sep 18, 2015 @ 19:37:13.000, _f: undefined, _strict: undefined, _locale: [object Object]
[00:08:33]               │      Error
[00:08:33]               │          at Function.createFromInputFallback (http://localhost:61151/35157/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:69891)
[00:08:33]               │          at http://localhost:61151/35157/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:89633
[00:08:33]               │          at http://localhost:61151/35157/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:89684
[00:08:33]               │          at Et (http://localhost:61151/35157/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:89978)
[00:08:33]               │          at Ct (http://localhost:61151/35157/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:90355)
[00:08:33]               │          at wt (http://localhost:61151/35157/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:90437)
[00:08:33]               │          at r (http://localhost:61151/35157/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:66729)
[00:08:33]               │          at Object.parse (http://localhost:61151/35157/bundles/plugin/data/data.plugin.js:1:131161)
[00:08:33]               │          at validateTimeRange (http://localhost:61151/35157/bundles/plugin/data/data.plugin.js:27:221370)
[00:08:33]               │          at t._next (http://localhost:61151/35157/bundles/plugin/data/data.plugin.js:27:242949)"
[00:08:34]               │ debg ... sleep(501) end
[00:08:34]               │ debg in navigateTo url = http://localhost:61151/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%27Sep%2018,%202015%20@%2019:37:13.000%27,to:%27Sep%2023,%202015%20@%2002:30:09.000%27))&_a=(columns:!(_source),filters:!(),index:eddf62c0-85bb-11ea-a555-0b6139dddc19,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:08:34]               │ debg --- retry.try error: URL changed, waiting for it to settle
[00:08:34]               │ debg ... sleep(501) start
[00:08:35]               │ debg ... sleep(501) end
[00:08:35]               │ debg in navigateTo url = http://localhost:61151/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%27Sep%2018,%202015%20@%2019:37:13.000%27,to:%27Sep%2023,%202015%20@%2002:30:09.000%27))&_a=(columns:!(_source),filters:!(),index:eddf62c0-85bb-11ea-a555-0b6139dddc19,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:08:35]               │ debg TestSubjects.exists(statusPageContainer)
[00:08:35]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:08:37]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:08:38]               │ debg TestSubjects.click(indexPattern-switch-link)
[00:08:38]               │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:08:38]               │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:08:38]               │ debg Find.setValue('[data-test-subj="indexPattern-switcher"] input', 'logsta*')
[00:08:38]               │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] input') with timeout=10000
[00:08:38]               │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switcher"] [title="logsta*"]') with timeout=10000
[00:08:38]               │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] [title="logsta*"]') with timeout=10000
[00:08:38]               │ debg isGlobalLoadingIndicatorVisible
[00:08:38]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:38]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:39]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:39]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:39]               │ debg TestSubjects.getVisibleText(euiToastHeader)
[00:08:39]               │ debg TestSubjects.find(euiToastHeader)
[00:08:39]               │ debg Find.findByCssSelector('[data-test-subj="euiToastHeader"]') with timeout=10000
[00:08:39]               │ debg 1 of 3 shards failed
[00:08:39]               └- ✓ pass  (9.1s) "discover async search with scripted fields query should show failed shards pop up"
[00:08:39]             └-> query return results with valid scripted field
[00:08:39]               └-> "before each" hook: global before each
[00:08:39]               │ debg TestSubjects.click(indexPattern-switch-link)
[00:08:39]               │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:08:39]               │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:08:40]               │ debg Find.setValue('[data-test-subj="indexPattern-switcher"] input', 'logstash-*')
[00:08:40]               │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] input') with timeout=10000
[00:08:40]               │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switcher"] [title="logstash-*"]') with timeout=10000
[00:08:40]               │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] [title="logstash-*"]') with timeout=10000
[00:08:40]               │ debg isGlobalLoadingIndicatorVisible
[00:08:40]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:40]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:40]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:40]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] moving index [.kibana-event-log-7.10.0-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] to [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] in policy [kibana-event-log-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] moving index [ilm-history-3-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] to [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] moving index [.kibana-event-log-7.10.0-000001] from [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] in policy [kibana-event-log-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] moving index [ilm-history-3-000001] from [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] moving index [.kibana-event-log-7.10.0-000001] from [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] in policy [kibana-event-log-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] moving index [ilm-history-3-000001] from [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] moving index [.kibana-event-log-7.10.0-000001] from [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] in policy [kibana-event-log-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] moving index [ilm-history-3-000001] from [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] moving index [.kibana-event-log-7.10.0-000001] from [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] in policy [kibana-event-log-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] moving index [ilm-history-3-000001] from [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] in policy [ilm-history-ilm-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] moving index [.kibana-event-log-7.10.0-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [kibana-event-log-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] moving index [ilm-history-3-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [ilm-history-ilm-policy]
[00:08:43]               │ debg QueryBar.setQuery(php* OR *jpg OR *css*)
[00:08:43]               │ debg TestSubjects.click(queryInput)
[00:08:43]               │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:08:43]               │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:08:44]               │ debg TestSubjects.getAttribute(queryInput, value)
[00:08:44]               │ debg TestSubjects.find(queryInput)
[00:08:44]               │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:08:44]               │ debg TestSubjects.click(querySubmitButton)
[00:08:44]               │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:08:44]               │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:08:45]               │ debg isGlobalLoadingIndicatorVisible
[00:08:45]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:46]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:46]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:47]               │ info [o.e.x.c.a.AsyncResultsService] [kibana-ci-immutable-debian-tests-xxl-1601317997084189731] failed to update expiration time for async-search [Fmx6elo0emZBU2FlTmllal9vWG9SYlEcZTkzakd5WnBUVVN3UlpvY2JXWFM3dzoxMDkyNA==]
[00:08:47]               │      org.elasticsearch.transport.RemoteTransportException: [kibana-ci-immutable-debian-tests-xxl-1601317997084189731][127.0.0.1:61153][indices:data/write/update[s]]
[00:08:47]               │      Caused by: org.elasticsearch.index.engine.VersionConflictEngineException: [lzzZ4zfASaeNiej_oXoRbQ]: version conflict, required seqNo [17], primary term [1]. current document has seqNo [18] and primary term [1]
[00:08:47]               │ proc [kibana]   log   [19:14:21.299] [error][data][elasticsearch] [resource_not_found_exception]: Fmx6elo0emZBU2FlTmllal9vWG9SYlEcZTkzakd5WnBUVVN3UlpvY2JXWFM3dzoxMDkyNA==
[00:08:47]               │ERROR browser[SEVERE] http://localhost:61151/internal/search/ese/Fmx6elo0emZBU2FlTmllal9vWG9SYlEcZTkzakd5WnBUVVN3UlpvY2JXWFM3dzoxMDkyNA== - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:08:47]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:08:47]               │ debg TestSubjects.find(discoverQueryHits)
[00:08:47]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:08:47]               │ debg --- retry.tryForTime error: expected '14,005' to equal '13,301'
[00:08:48]               │ debg isGlobalLoadingIndicatorVisible
[00:08:48]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:48]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:49]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:08:50]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:50]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:50]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:08:50]               │ debg TestSubjects.find(discoverQueryHits)
[00:08:50]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:08:50]               │ debg --- retry.tryForTime failed again with the same message...
[00:08:50]               │ debg isGlobalLoadingIndicatorVisible
[00:08:50]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:50]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:52]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:08:52]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:52]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:52]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:08:52]               │ debg TestSubjects.find(discoverQueryHits)
[00:08:52]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:08:52]               │ debg --- retry.tryForTime failed again with the same message...
[00:08:53]               │ debg isGlobalLoadingIndicatorVisible
[00:08:53]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:53]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:54]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:08:55]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:55]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:55]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:08:55]               │ debg TestSubjects.find(discoverQueryHits)
[00:08:55]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:08:55]               │ debg --- retry.tryForTime failed again with the same message...
[00:08:55]               │ debg isGlobalLoadingIndicatorVisible
[00:08:55]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:57]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:08:57]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:57]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:57]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:08:57]               │ debg TestSubjects.find(discoverQueryHits)
[00:08:57]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:08:57]               │ debg --- retry.tryForTime failed again with the same message...
[00:08:58]               │ debg isGlobalLoadingIndicatorVisible
[00:08:58]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:58]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:59]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:00]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:00]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:00]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:09:00]               │ debg TestSubjects.find(discoverQueryHits)
[00:09:00]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:09:00]               │ debg --- retry.tryForTime failed again with the same message...
[00:09:00]               │ debg isGlobalLoadingIndicatorVisible
[00:09:00]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:00]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:02]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:02]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:02]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:02]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:09:02]               │ debg TestSubjects.find(discoverQueryHits)
[00:09:02]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:09:03]               │ debg --- retry.tryForTime failed again with the same message...
[00:09:03]               │ debg isGlobalLoadingIndicatorVisible
[00:09:03]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:05]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:05]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:05]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:05]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:09:05]               │ debg TestSubjects.find(discoverQueryHits)
[00:09:05]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:09:05]               │ debg --- retry.tryForTime failed again with the same message...
[00:09:06]               │ debg isGlobalLoadingIndicatorVisible
[00:09:06]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:07]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:08]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:08]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:08]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:09:08]               │ debg TestSubjects.find(discoverQueryHits)
[00:09:08]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:09:08]               │ debg --- retry.tryForTime failed again with the same message...
[00:09:08]               │ debg isGlobalLoadingIndicatorVisible
[00:09:08]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:08]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:10]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:10]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:10]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:10]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:09:10]               │ debg TestSubjects.find(discoverQueryHits)
[00:09:10]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:09:10]               │ debg --- retry.tryForTime failed again with the same message...
[00:09:11]               │ debg isGlobalLoadingIndicatorVisible
[00:09:11]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:11]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:12]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:13]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:13]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:13]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:09:13]               │ debg TestSubjects.find(discoverQueryHits)
[00:09:13]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:09:13]               │ debg --- retry.tryForTime failed again with the same message...
[00:09:13]               │ debg isGlobalLoadingIndicatorVisible
[00:09:13]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:13]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:15]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:15]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:15]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:15]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:09:15]               │ debg TestSubjects.find(discoverQueryHits)
[00:09:15]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:09:15]               │ debg --- retry.tryForTime failed again with the same message...
[00:09:16]               │ info Taking screenshot "/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/screenshots/failure/discover async search with scripted fields query return results with valid scripted field.png"
[00:09:16]               │ info Current URL is: http://localhost:61151/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%27Sep%2018,%202015%20@%2019:37:13.000%27,to:%27Sep%2023,%202015%20@%2002:30:09.000%27))&_a=(columns:!(_source),filters:!(),index:eddf62c0-85bb-11ea-a555-0b6139dddc19,interval:auto,query:(language:kuery,query:%27php*%20OR%20*jpg%20OR%20*css*%27),sort:!())
[00:09:16]               │ info Saving page source to: /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/failure_debug/html/discover async search with scripted fields query return results with valid scripted field.html
[00:09:16]               └- ✖ fail: discover async search with scripted fields query return results with valid scripted field
[00:09:16]               │      Error: retry.tryForTime timeout: Error: expected '14,005' to equal '13,301'
[00:09:16]               │     at Assertion.assert (/dev/shm/workspace/parallel/15/kibana/packages/kbn-expect/expect.js:100:11)
[00:09:16]               │     at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/15/kibana/packages/kbn-expect/expect.js:227:8)
[00:09:16]               │     at Assertion.be (/dev/shm/workspace/parallel/15/kibana/packages/kbn-expect/expect.js:69:22)
[00:09:16]               │     at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/apps/discover/async_scripted_fields.js:122:61
[00:09:16]               │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:09:16]               │       at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:09:16]               │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:09:16]               │ 
[00:09:16]               │ 

Stack Trace

Error: retry.tryForTime timeout: Error: expected '14,005' to equal '13,301'
    at Assertion.assert (/dev/shm/workspace/parallel/15/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/15/kibana/packages/kbn-expect/expect.js:227:8)
    at Assertion.be (/dev/shm/workspace/parallel/15/kibana/packages/kbn-expect/expect.js:69:22)
    at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/apps/discover/async_scripted_fields.js:122:61
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Metrics [docs]

async chunks size

id value diff baseline
home 423.5KB -1.6KB 425.1KB

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

@pgayvallet pgayvallet merged commit 501e46f into elastic:7.x Sep 28, 2020
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.

2 participants