Skip to content

[7.x] [ML] Typescripting client side endpoint functions (#59928)#60002

Merged
jgowdyelastic merged 3 commits intoelastic:7.xfrom
jgowdyelastic:backport/7.x/pr-59928
Mar 13, 2020
Merged

[7.x] [ML] Typescripting client side endpoint functions (#59928)#60002
jgowdyelastic merged 3 commits intoelastic:7.xfrom
jgowdyelastic:backport/7.x/pr-59928

Conversation

@jgowdyelastic
Copy link
Copy Markdown
Member

Backports the following commits to 7.x:

* [ML] Typescripting client side endpoint functions

* type clean up

* cleaning up http requests

* remove http generics

* better use of generics and type clean up

* removes some generics

* update comment

* updating data frame analytics types

* fixing type errors
@jgowdyelastic jgowdyelastic added the backport This PR is a backport of another PR label Mar 12, 2020
@jgowdyelastic
Copy link
Copy Markdown
Member Author

@elasticmachine merge upstream

@jgowdyelastic
Copy link
Copy Markdown
Member Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/dashboard/dashboard_query_bar·js.dashboard app using current data dashboard query bar causes panels to reload when refresh is clicked

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: dashboard app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: using current data
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook: loadCurrentData
[00:00:00]               │ info [dashboard/current/data] Loading "mappings.json"
[00:00:00]               │ info [dashboard/current/data] Loading "data.json.gz"
[00:00:00]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [animals-dogs-2018-01-01] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:00]               │ info [dashboard/current/data] Created index "animals-dogs-2018-01-01"
[00:00:00]               │ debg [dashboard/current/data] "animals-dogs-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:00]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:00]               │ info [dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:00:00]               │ debg [dashboard/current/data] "animals-dogs-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:00]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [animals-cats-2018-01-01] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:00]               │ info [dashboard/current/data] Created index "animals-cats-2018-01-01"
[00:00:00]               │ debg [dashboard/current/data] "animals-cats-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:00]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [animals-cats-2018-04-10] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:00]               │ info [dashboard/current/data] Created index "animals-cats-2018-04-10"
[00:00:00]               │ debg [dashboard/current/data] "animals-cats-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:00]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [dogbreeds] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:01]               │ info [dashboard/current/data] Created index "dogbreeds"
[00:00:01]               │ debg [dashboard/current/data] "dogbreeds" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [logstash-0] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:01]               │ info [dashboard/current/data] Created index "logstash-0"
[00:00:01]               │ debg [dashboard/current/data] "logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:10]               │ info progress: 8725
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:00:13]               │ info [dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:00:13]               │ info [dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:06:13]             └-: dashboard query bar
[00:06:13]               └-> "before all" hook
[00:06:13]               └-> "before all" hook
[00:06:13]                 │ info [dashboard/current/kibana] Loading "mappings.json"
[00:06:13]                 │ info [dashboard/current/kibana] Loading "data.json.gz"
[00:06:13]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana_2/ug45sFc3QwuGsoYVEF1EaQ] deleting index
[00:06:13]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana_1/dMtsRSQiQ4GDn-Qk0OUVKw] deleting index
[00:06:13]                 │ info [dashboard/current/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:06:13]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:06:13]                 │ info [dashboard/current/kibana] Created index ".kibana"
[00:06:13]                 │ debg [dashboard/current/kibana] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:06:13]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana/OH3rtqBGS3q5ge6CCFserg] update_mapping [_doc]
[00:06:13]                 │ info [dashboard/current/kibana] Indexed 84 docs into ".kibana"
[00:06:13]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana/OH3rtqBGS3q5ge6CCFserg] update_mapping [_doc]
[00:06:13]                 │ debg Migrating saved objects
[00:06:13]                 │ proc [kibana]   log   [09:07:02.504] [info][savedobjects-service] Creating index .kibana_2.
[00:06:13]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:06:13]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] updating number_of_replicas to [0] for indices [.kibana_2]
[00:06:13]                 │ proc [kibana]   log   [09:07:02.564] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:06:13]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:06:13]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] updating number_of_replicas to [0] for indices [.kibana_1]
[00:06:13]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] 5552 finished with response BulkByScrollResponse[took=66ms,timed_out=false,sliceId=null,updated=0,created=84,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:06:14]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana/OH3rtqBGS3q5ge6CCFserg] deleting index
[00:06:14]                 │ proc [kibana]   log   [09:07:02.903] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:06:14]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana_2/AB5c9UzcRX2dtitGBaaUFA] update_mapping [_doc]
[00:06:14]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana_2/AB5c9UzcRX2dtitGBaaUFA] update_mapping [_doc]
[00:06:14]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana_2/AB5c9UzcRX2dtitGBaaUFA] update_mapping [_doc]
[00:06:14]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana_2/AB5c9UzcRX2dtitGBaaUFA] update_mapping [_doc]
[00:06:14]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana_2/AB5c9UzcRX2dtitGBaaUFA] update_mapping [_doc]
[00:06:14]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana_2/AB5c9UzcRX2dtitGBaaUFA] update_mapping [_doc]
[00:06:14]                 │ debg browser[INFO] http://localhost:6121/bundles/plugin/data/data.plugin.js 90:139970 "INFO: 2020-03-13T09:07:03Z
[00:06:14]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:06:14]                 │
[00:06:14]                 │      "
[00:06:14]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana_2/AB5c9UzcRX2dtitGBaaUFA] update_mapping [_doc]
[00:06:14]                 │ proc [kibana]   log   [09:07:03.163] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:06:14]                 │ proc [kibana]   log   [09:07:03.219] [info][savedobjects-service] Finished in 717ms.
[00:06:14]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:06:14]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [.kibana_2/AB5c9UzcRX2dtitGBaaUFA] update_mapping [_doc]
[00:06:15]                 │ debg replacing kibana config doc: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:06:16]                 │ debg navigating to dashboard url: http://localhost:6121/app/kibana#/dashboards
[00:06:16]                 │ debg Navigate to: http://localhost:6121/app/kibana#/dashboards
[00:06:16]                 │ debg ... sleep(700) start
[00:06:16]                 │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1584090425617#/dashboards 340 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:06:16]                 │
[00:06:16]                 │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:17]                 │ debg ... sleep(700) end
[00:06:17]                 │ debg returned from get, calling refresh
[00:06:17]                 │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1584090425617#/dashboards 340 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:06:17]                 │
[00:06:17]                 │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:18]                 │ debg currentUrl = http://localhost:6121/app/kibana#/dashboards
[00:06:18]                 │          appUrl = http://localhost:6121/app/kibana#/dashboards
[00:06:18]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:20]                 │ debg TestSubjects.find(kibanaChrome)
[00:06:20]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:06:20]                 │ debg browser[INFO] http://localhost:6121/bundles/plugin/data/data.plugin.js 90:139970 "INFO: 2020-03-13T09:07:08Z
[00:06:20]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:06:20]                 │
[00:06:20]                 │      "
[00:06:20]                 │ debg ... sleep(501) start
[00:06:20]                 │ debg ... sleep(501) end
[00:06:20]                 │ debg in navigateTo url = http://localhost:6121/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:06:20]                 │ debg TestSubjects.exists(statusPageContainer)
[00:06:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:23]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:24]                 │ debg isGlobalLoadingIndicatorVisible
[00:06:24]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:24]                 │ debg browser[INFO] http://localhost:6121/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now)) 340 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:06:24]                 │
[00:06:24]                 │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:26]                 │ debg browser[INFO] http://localhost:6121/bundles/plugin/data/data.plugin.js 90:139970 "INFO: 2020-03-13T09:07:14Z
[00:06:26]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:06:26]                 │
[00:06:26]                 │      "
[00:06:26]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:26]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:26]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:26]                 │ debg Load Saved Dashboard dashboard with filter
[00:06:26]                 │ debg gotoDashboardLandingPage
[00:06:26]                 │ debg onDashboardLandingPage
[00:06:26]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:06:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:06:26]                 │ debg searchForItemWithName: dashboard with filter
[00:06:26]                 │ debg Find.allByCssSelector('.euiFieldSearch') with timeout=10000
[00:06:27]                 │ debg isGlobalLoadingIndicatorVisible
[00:06:27]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:27]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:27]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:27]                 │ debg TestSubjects.click(dashboardListingTitleLink-dashboard-with-filter)
[00:06:27]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-dashboard-with-filter"]') with timeout=10000
[00:06:27]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-dashboard-with-filter"]') with timeout=10000
[00:06:28]                 │ debg isGlobalLoadingIndicatorVisible
[00:06:28]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:28]                 │ debg browser[WARNING] http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 5:99123 "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:06:28]                 │      Arguments: 
[00:06:28]                 │      [0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: Mon Apr 09 2018 17:56:08 GMT-0400, _f: undefined, _strict: undefined, _locale: [object Object]
[00:06:28]                 │      Error
[00:06:28]                 │          at Function.createFromInputFallback (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:6:99531)
[00:06:28]                 │          at http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:6:119281
[00:06:28]                 │          at http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:6:119332
[00:06:28]                 │          at Ct (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:6:119626)
[00:06:28]                 │          at St (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:6:120003)
[00:06:28]                 │          at Mt (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:6:120085)
[00:06:28]                 │          at o (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:6:96369)
[00:06:28]                 │          at Function.convertTimeToUTCString (http://localhost:6121/bundles/7.bundle.js:1:33781)
[00:06:28]                 │          at Function.areTimesEqual (http://localhost:6121/bundles/7.bundle.js:1:33969)
[00:06:28]                 │          at DashboardStateManager.getTimeChanged (http://localhost:6121/bundles/7.bundle.js:1:163398)"
[00:06:28]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:30]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:31]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:31]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:31]                 │ debg TestSubjects.missingOrFail(dashboardLandingPage)
[00:06:31]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=10000
[00:06:31]               └-> causes panels to reload when refresh is clicked
[00:06:31]                 └-> "before each" hook: global before each
[00:06:31]                 │ info [dashboard/current/data] Unloading indices from "mappings.json"
[00:06:31]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [animals-dogs-2018-01-01/K_INa-H7QHSa2z5RQGmUaQ] deleting index
[00:06:31]                 │ info [dashboard/current/data] Deleted existing index "animals-dogs-2018-01-01"
[00:06:31]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [animals-dogs-2018-04-10/EPOSkZ7_QbW3gd2baP5SUA] deleting index
[00:06:31]                 │ info [dashboard/current/data] Deleted existing index "animals-dogs-2018-04-10"
[00:06:31]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [animals-cats-2018-01-01/Q9IW6NrGQN62COL2kWHbqg] deleting index
[00:06:31]                 │ info [dashboard/current/data] Deleted existing index "animals-cats-2018-01-01"
[00:06:31]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [animals-cats-2018-04-10/QxOUZ896Rxy97Nemv6tqvQ] deleting index
[00:06:31]                 │ info [dashboard/current/data] Deleted existing index "animals-cats-2018-04-10"
[00:06:31]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [dogbreeds/H2JoJVJmSfmPKfD4zMNV3Q] deleting index
[00:06:31]                 │ info [dashboard/current/data] Deleted existing index "dogbreeds"
[00:06:31]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1584088773995179228] [logstash-0/1WATuW5ITVuthaHiNAd_lg] deleting index
[00:06:32]                 │ info [dashboard/current/data] Deleted existing index "logstash-0"
[00:06:32]                 │ info [dashboard/current/data] Unloading indices from "data.json.gz"
[00:06:33]                 │ debg TestSubjects.click(querySubmitButton)
[00:06:33]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:06:33]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:06:33]                 │ debg TestSubjects.find(embeddedSavedSearchDocTable)
[00:06:33]                 │ debg Find.findByCssSelector('[data-test-subj="embeddedSavedSearchDocTable"]') with timeout=10000
[00:06:34]                 │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/dashboard app using current data dashboard query bar causes panels to reload when refresh is clicked.png"
[00:06:34]                 │ info Current URL is: http://localhost:6121/app/kibana#/dashboard/61c58ad0-3dd3-11e8-b2b9-5d5dc1715159?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%27Mon%20Apr%2009%202018%2017:56:08%20GMT-0400%27,to:%27Wed%20Apr%2011%202018%2017:56:08%20GMT-0400%27))&_a=(description:%27%27,filters:!((%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,index:a0f483a0-3dc9-11e8-8660-4d65aa086b3c,key:animal,negate:!f,params:(query:dog,type:phrase),type:phrase,value:dog),query:(match:(animal:(query:dog,type:phrase))))),fullScreenMode:!f,options:(darkTheme:!f,hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:15,i:%271%27,w:24,x:0,y:0),id:%2750643b60-3dd3-11e8-b2b9-5d5dc1715159%27,panelIndex:%271%27,type:visualization,version:%277.7.0-SNAPSHOT%27),(embeddableConfig:(),gridData:(h:15,i:%272%27,w:24,x:24,y:0),id:a16d1990-3dca-11e8-8660-4d65aa086b3c,panelIndex:%272%27,type:search,version:%277.7.0-SNAPSHOT%27)),query:(language:lucene,query:%27%27),timeRestore:!t,title:%27dashboard%20with%20filter%27,viewMode:view)
[00:06:34]                 │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/dashboard app using current data dashboard query bar causes panels to reload when refresh is clicked.html
[00:06:34]                 └- ✖ fail: "dashboard app using current data dashboard query bar causes panels to reload when refresh is clicked"
[00:06:34]                 │

Stack Trace

Error: expected 6 to equal 0
    at Assertion.assert (packages/kbn-expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (packages/kbn-expect/expect.js:227:8)
    at Assertion.be (packages/kbn-expect/expect.js:69:22)
    at Context.it (test/functional/apps/dashboard/dashboard_query_bar.js:45:33)
    at process._tickCallback (internal/process/next_tick.js:68:7)

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

@jgowdyelastic jgowdyelastic merged commit 2eb430d into elastic:7.x Mar 13, 2020
@jgowdyelastic jgowdyelastic deleted the backport/7.x/pr-59928 branch March 13, 2020 14:08
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR :ml

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants