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] Index patterns api - load field list on server (#81218) #82616

Closed
wants to merge 1 commit into from

Conversation

mattkime
Copy link
Contributor

@mattkime mattkime commented Nov 4, 2020

Backports the following commits to 7.x:

Index patterns api - load field list on server
@kibanamachine
Copy link
Contributor

kibanamachine commented Nov 4, 2020

💔 Build Failed

Failed CI Steps


Test Failures

Plugin Functional Tests.test/plugin_functional/test_suites/data_plugin/index_patterns·ts.data plugin index patterns can get all ids

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:05:40]         └-: data plugin
[00:05:40]           └-> "before all" hook
[00:05:40]           └-> "before all" hook
[00:05:40]             │ info [../functional/fixtures/es_archiver/getting_started/shakespeare] Loading "mappings.json"
[00:05:40]             │ info [../functional/fixtures/es_archiver/getting_started/shakespeare] Loading "data.json.gz"
[00:05:40]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1604503260905617641] [shakespeare] creating index, cause [api], templates [], shards [5]/[1]
[00:05:40]             │ info [../functional/fixtures/es_archiver/getting_started/shakespeare] Created index "shakespeare"
[00:05:40]             │ debg [../functional/fixtures/es_archiver/getting_started/shakespeare] "shakespeare" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:05:40]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1604503260905617641] [shakespeare/X33tYH7tSbuPuHbCnOk_7Q] update_mapping [_doc]
[00:05:49]             │ info [../functional/fixtures/es_archiver/getting_started/shakespeare] Indexed 111396 docs into "shakespeare"
[00:05:49]             │ debg navigating to settings url: http://localhost:61241/app/management
[00:05:49]             │ debg navigate to: http://localhost:61241/app/management
[00:05:49]             │ debg browser[DEBUG] http://localhost:61241/9007199254740991/bundles/plugin/usageCollection/usageCollection.plugin.js 840:14 "Reporting application changed to undefined"
[00:05:49]             │ debg browser[DEBUG] http://localhost:61241/9007199254740991/bundles/plugin/usageCollection/usageCollection.plugin.js 840:14 "Reporting application changed to undefined"
[00:05:49]             │ debg browser[DEBUG] http://localhost:61241/9007199254740991/bundles/plugin/usageCollection/usageCollection.plugin.js 840:14 "Error Sending Metrics Report TypeError: Failed to fetch"
[00:05:49]             │ debg browser[INFO] http://localhost:61241/app/management?_t=1604505601375 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:05:49]             │
[00:05:49]             │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:49]             │ debg ... sleep(700) start
[00:05:50]             │ debg ... sleep(700) end
[00:05:50]             │ debg returned from get, calling refresh
[00:05:50]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [rendering] is using deprecated mount context. Use core.getStartServices() instead."
[00:05:50]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [custom-app-route] is using deprecated mount context. Use core.getStartServices() instead."
[00:05:50]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [chromeless] is using deprecated mount context. Use core.getStartServices() instead."
[00:05:50]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [appleave1] is using deprecated mount context. Use core.getStartServices() instead."
[00:05:50]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [appleave2] is using deprecated mount context. Use core.getStartServices() instead."
[00:05:50]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [foo] is using deprecated mount context. Use core.getStartServices() instead."
[00:05:50]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [bar] is using deprecated mount context. Use core.getStartServices() instead."
[00:05:50]             │ERROR browser[SEVERE] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 16725:18 TypeError: Failed to fetch
[00:05:50]             │          at Fetch.fetchResponse (http://localhost:61241/9007199254740991/bundles/core/core.entry.js:17226:13)
[00:05:50]             │          at async interceptResponse (http://localhost:61241/9007199254740991/bundles/core/core.entry.js:17664:10)
[00:05:50]             │          at async http://localhost:61241/9007199254740991/bundles/core/core.entry.js:17150:39
[00:05:50]             │ debg browser[INFO] http://localhost:61241/app/management?_t=1604505601375 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:05:50]             │
[00:05:50]             │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:50]             │ debg currentUrl = http://localhost:61241/app/management
[00:05:50]             │          appUrl = http://localhost:61241/app/management
[00:05:50]             │ debg TestSubjects.find(kibanaChrome)
[00:05:50]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:51]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [rendering] is using deprecated mount context. Use core.getStartServices() instead."
[00:05:51]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [custom-app-route] is using deprecated mount context. Use core.getStartServices() instead."
[00:05:51]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [chromeless] is using deprecated mount context. Use core.getStartServices() instead."
[00:05:51]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [appleave1] is using deprecated mount context. Use core.getStartServices() instead."
[00:05:51]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [appleave2] is using deprecated mount context. Use core.getStartServices() instead."
[00:05:51]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [foo] is using deprecated mount context. Use core.getStartServices() instead."
[00:05:51]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [bar] is using deprecated mount context. Use core.getStartServices() instead."
[00:05:51]             │ debg browser[DEBUG] http://localhost:61241/9007199254740991/bundles/plugin/usageCollection/usageCollection.plugin.js 840:14 "Reporting user-agent."
[00:05:51]             │ debg browser[DEBUG] http://localhost:61241/9007199254740991/bundles/plugin/usageCollection/usageCollection.plugin.js 840:14 "Reporting application changed to management"
[00:05:51]             │ debg ... sleep(501) start
[00:05:52]             │ debg ... sleep(501) end
[00:05:52]             │ debg in navigateTo url = http://localhost:61241/app/management
[00:05:52]             │ debg TestSubjects.exists(statusPageContainer)
[00:05:52]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:05:55]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:05:55]             │ debg isGlobalLoadingIndicatorVisible
[00:05:55]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:55]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:57]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:57]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:57]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:57]             │ debg clickKibanaIndexPatterns link
[00:05:57]             │ debg TestSubjects.click(indexPatterns)
[00:05:57]             │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:05:57]             │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:05:57]             │ debg isGlobalLoadingIndicatorVisible
[00:05:57]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:57]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:59]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:59]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:59]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:59]             │ debg Find.existsByLinkText('shakespeare')  with timeout=2500
[00:06:02]             │ debg isGlobalLoadingIndicatorVisible
[00:06:02]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:02]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:03]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:04]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:04]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:04]             │ debg TestSubjects.click(createIndexPatternButton)
[00:06:04]             │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:06:04]             │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:06:04]             │ debg isGlobalLoadingIndicatorVisible
[00:06:04]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:04]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:06]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:06]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:06]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:06]             │ debg setIndexPatternField(shakespeare)
[00:06:06]             │ debg TestSubjects.find(createIndexPatternNameInput)
[00:06:06]             │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternNameInput"]') with timeout=10000
[00:06:08]             │ debg setIndexPatternField set to shakespeare
[00:06:08]             │ debg ... sleep(2000) start
[00:06:10]             │ debg ... sleep(2000) end
[00:06:10]             │ debg TestSubjects.find(createIndexPatternGoToStep2Button)
[00:06:10]             │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternGoToStep2Button"]') with timeout=10000
[00:06:10]             │ debg ... sleep(2000) start
[00:06:12]             │ debg ... sleep(2000) end
[00:11:12]             │ debg TestSubjects.find(createIndexPatternButton)
[00:11:12]             │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:11:12]             │ debg isGlobalLoadingIndicatorVisible
[00:11:12]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:11:12]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:11:12]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:12]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:13]             │ info currentUrl http://localhost:61241/app/management/kibana/indexPatterns/patterns/8c5521d0-1eb7-11eb-b203-d30110cec8c2#/?_a=(tab:indexedFields)
[00:11:13]             │ debg Index pattern created: http://localhost:61241/app/management/kibana/indexPatterns/patterns/8c5521d0-1eb7-11eb-b203-d30110cec8c2#/?_a=(tab:indexedFields)
[00:11:13]             │ debg index pattern ID:  ?_a=(tab:indexedFields)
[00:12:28]           └-: index patterns
[00:12:28]             └-> "before all" hook
[00:12:28]             └-> can create an index pattern
[00:12:28]               └-> "before each" hook: global before each
[00:12:28]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1604503260905617641] [.kibana] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:12:28]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1604503260905617641] [.kibana/DydHYlaXTNGuZJW9PehP1A] create_mapping [_doc]
[00:12:29]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1604503260905617641] [.kibana/DydHYlaXTNGuZJW9PehP1A] update_mapping [_doc]
[00:12:30]               └- ✓ pass  (2.0s) "data plugin index patterns can create an index pattern"
[00:12:30]             └-> can get all ids
[00:12:30]               └-> "before each" hook: global before each
[00:12:30]               │ info Taking screenshot "/dev/shm/workspace/parallel/24/kibana/test/functional/screenshots/failure/data plugin index patterns can get all ids.png"
[00:12:30]               │ info Current URL is: http://localhost:61241/app/dashboards#/view/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:!(),fullScreenMode:!f,options:(darkTheme:!f,hidePanelTitles:!f,useMargins:!t),query:(language:lucene,query:%27%27),tags:!(),timeRestore:!t,title:%27dashboard%20with%20filter%27,viewMode:view)
[00:12:30]               │ info Saving page source to: /dev/shm/workspace/parallel/24/kibana/test/plugin_functional/failure_debug/html/data plugin index patterns can get all ids.html
[00:12:30]               └- ✖ fail: data plugin index patterns can get all ids
[00:12:30]               │      Error: expected false to equal true
[00:12:30]               │       at Assertion.assert (packages/kbn-expect/expect.js:100:11)
[00:12:30]               │       at Assertion.equal (packages/kbn-expect/expect.js:227:8)
[00:12:30]               │       at Context.it (test/plugin_functional/test_suites/data_plugin/index_patterns.ts:52:34)
[00:12:30]               │ 
[00:12:30]               │ 

Stack Trace

Error: expected false to equal true
    at Assertion.assert (packages/kbn-expect/expect.js:100:11)
    at Assertion.equal (packages/kbn-expect/expect.js:227:8)
    at Context.it (test/plugin_functional/test_suites/data_plugin/index_patterns.ts:52:34)

Plugin Functional Tests.test/plugin_functional/test_suites/data_plugin/index_patterns·ts.data plugin index patterns can get all ids

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:06:12]         └-: data plugin
[00:06:12]           └-> "before all" hook
[00:06:12]           └-> "before all" hook
[00:06:12]             │ info [../functional/fixtures/es_archiver/getting_started/shakespeare] Loading "mappings.json"
[00:06:12]             │ info [../functional/fixtures/es_archiver/getting_started/shakespeare] Loading "data.json.gz"
[00:06:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1604503260905617641] [shakespeare] creating index, cause [api], templates [], shards [5]/[1]
[00:06:12]             │ info [../functional/fixtures/es_archiver/getting_started/shakespeare] Created index "shakespeare"
[00:06:12]             │ debg [../functional/fixtures/es_archiver/getting_started/shakespeare] "shakespeare" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:06:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1604503260905617641] [shakespeare/y4XuxECxTdKUd6RUqDqh-A] update_mapping [_doc]
[00:06:20]             │ info [../functional/fixtures/es_archiver/getting_started/shakespeare] Indexed 111396 docs into "shakespeare"
[00:06:21]             │ debg navigating to settings url: http://localhost:61241/app/management
[00:06:21]             │ debg navigate to: http://localhost:61241/app/management
[00:06:21]             │ debg browser[DEBUG] http://localhost:61241/9007199254740991/bundles/plugin/usageCollection/usageCollection.plugin.js 840:14 "Reporting application changed to undefined"
[00:06:21]             │ debg browser[DEBUG] http://localhost:61241/9007199254740991/bundles/plugin/usageCollection/usageCollection.plugin.js 840:14 "Reporting application changed to undefined"
[00:06:21]             │ debg browser[DEBUG] http://localhost:61241/9007199254740991/bundles/plugin/usageCollection/usageCollection.plugin.js 840:14 "Error Sending Metrics Report TypeError: Failed to fetch"
[00:06:21]             │ debg browser[INFO] http://localhost:61241/app/management?_t=1604504787476 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:06:21]             │
[00:06:21]             │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:21]             │ debg ... sleep(700) start
[00:06:21]             │ debg ... sleep(700) end
[00:06:21]             │ debg returned from get, calling refresh
[00:06:22]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [rendering] is using deprecated mount context. Use core.getStartServices() instead."
[00:06:22]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [custom-app-route] is using deprecated mount context. Use core.getStartServices() instead."
[00:06:22]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [chromeless] is using deprecated mount context. Use core.getStartServices() instead."
[00:06:22]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [appleave1] is using deprecated mount context. Use core.getStartServices() instead."
[00:06:22]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [appleave2] is using deprecated mount context. Use core.getStartServices() instead."
[00:06:22]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [foo] is using deprecated mount context. Use core.getStartServices() instead."
[00:06:22]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [bar] is using deprecated mount context. Use core.getStartServices() instead."
[00:06:22]             │ERROR browser[SEVERE] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 16725:18 TypeError: Failed to fetch
[00:06:22]             │          at Fetch.fetchResponse (http://localhost:61241/9007199254740991/bundles/core/core.entry.js:17226:13)
[00:06:22]             │          at async interceptResponse (http://localhost:61241/9007199254740991/bundles/core/core.entry.js:17664:10)
[00:06:22]             │          at async http://localhost:61241/9007199254740991/bundles/core/core.entry.js:17150:39
[00:06:22]             │ debg browser[INFO] http://localhost:61241/app/management?_t=1604504787476 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:06:22]             │
[00:06:22]             │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:22]             │ debg currentUrl = http://localhost:61241/app/management
[00:06:22]             │          appUrl = http://localhost:61241/app/management
[00:06:22]             │ debg TestSubjects.find(kibanaChrome)
[00:06:22]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:23]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [rendering] is using deprecated mount context. Use core.getStartServices() instead."
[00:06:23]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [custom-app-route] is using deprecated mount context. Use core.getStartServices() instead."
[00:06:23]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [chromeless] is using deprecated mount context. Use core.getStartServices() instead."
[00:06:23]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [appleave1] is using deprecated mount context. Use core.getStartServices() instead."
[00:06:23]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [appleave2] is using deprecated mount context. Use core.getStartServices() instead."
[00:06:23]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [foo] is using deprecated mount context. Use core.getStartServices() instead."
[00:06:23]             │ debg browser[WARNING] http://localhost:61241/9007199254740991/bundles/core/core.entry.js 9946:18 "App [bar] is using deprecated mount context. Use core.getStartServices() instead."
[00:06:23]             │ debg browser[DEBUG] http://localhost:61241/9007199254740991/bundles/plugin/usageCollection/usageCollection.plugin.js 840:14 "Reporting user-agent."
[00:06:23]             │ debg browser[DEBUG] http://localhost:61241/9007199254740991/bundles/plugin/usageCollection/usageCollection.plugin.js 840:14 "Reporting application changed to management"
[00:06:23]             │ debg ... sleep(501) start
[00:06:24]             │ debg ... sleep(501) end
[00:06:24]             │ debg in navigateTo url = http://localhost:61241/app/management
[00:06:24]             │ debg TestSubjects.exists(statusPageContainer)
[00:06:24]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:26]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[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:28]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:29]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:29]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:29]             │ debg clickKibanaIndexPatterns link
[00:06:29]             │ debg TestSubjects.click(indexPatterns)
[00:06:29]             │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:06:29]             │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:06:29]             │ debg isGlobalLoadingIndicatorVisible
[00:06:29]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:29]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:31]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[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 Find.existsByLinkText('shakespeare')  with timeout=2500
[00:06:34]             │ debg isGlobalLoadingIndicatorVisible
[00:06:34]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:34]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:35]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:36]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:36]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:36]             │ debg TestSubjects.click(createIndexPatternButton)
[00:06:36]             │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:06:36]             │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:06:36]             │ debg isGlobalLoadingIndicatorVisible
[00:06:36]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:36]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:37]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:38]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:38]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:38]             │ debg setIndexPatternField(shakespeare)
[00:06:38]             │ debg TestSubjects.find(createIndexPatternNameInput)
[00:06:38]             │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternNameInput"]') with timeout=10000
[00:06:40]             │ debg setIndexPatternField set to shakespeare
[00:06:40]             │ debg ... sleep(2000) start
[00:06:42]             │ debg ... sleep(2000) end
[00:06:42]             │ debg TestSubjects.find(createIndexPatternGoToStep2Button)
[00:06:42]             │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternGoToStep2Button"]') with timeout=10000
[00:06:42]             │ debg ... sleep(2000) start
[00:06:44]             │ debg ... sleep(2000) end
[00:11:44]             │ debg TestSubjects.find(createIndexPatternButton)
[00:11:44]             │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:11:44]             │ debg isGlobalLoadingIndicatorVisible
[00:11:44]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:11:44]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:11:44]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:44]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:45]             │ info currentUrl http://localhost:61241/app/management/kibana/indexPatterns/patterns/a74912f0-1eb5-11eb-9203-cfe43409eb06#/?_a=(tab:indexedFields)
[00:11:45]             │ debg Index pattern created: http://localhost:61241/app/management/kibana/indexPatterns/patterns/a74912f0-1eb5-11eb-9203-cfe43409eb06#/?_a=(tab:indexedFields)
[00:11:45]             │ debg index pattern ID:  ?_a=(tab:indexedFields)
[00:13:08]           └-: index patterns
[00:13:08]             └-> "before all" hook
[00:13:08]             └-> can create an index pattern
[00:13:08]               └-> "before each" hook: global before each
[00:13:08]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1604503260905617641] [.kibana] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:13:08]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1604503260905617641] [.kibana/IsHD2uATS26epfpjAjx4aA] create_mapping [_doc]
[00:13:09]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1604503260905617641] [.kibana/IsHD2uATS26epfpjAjx4aA] update_mapping [_doc]
[00:13:10]               └- ✓ pass  (2.1s) "data plugin index patterns can create an index pattern"
[00:13:10]             └-> can get all ids
[00:13:10]               └-> "before each" hook: global before each
[00:13:10]               │ info Taking screenshot "/dev/shm/workspace/parallel/24/kibana/test/functional/screenshots/failure/data plugin index patterns can get all ids.png"
[00:13:10]               │ info Current URL is: http://localhost:61241/app/dashboards#/view/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:!(),fullScreenMode:!f,options:(darkTheme:!f,hidePanelTitles:!f,useMargins:!t),query:(language:lucene,query:%27%27),tags:!(),timeRestore:!t,title:%27dashboard%20with%20filter%27,viewMode:view)
[00:13:10]               │ info Saving page source to: /dev/shm/workspace/parallel/24/kibana/test/plugin_functional/failure_debug/html/data plugin index patterns can get all ids.html
[00:13:10]               └- ✖ fail: data plugin index patterns can get all ids
[00:13:10]               │      Error: expected false to equal true
[00:13:10]               │       at Assertion.assert (packages/kbn-expect/expect.js:100:11)
[00:13:10]               │       at Assertion.equal (packages/kbn-expect/expect.js:227:8)
[00:13:10]               │       at Context.it (test/plugin_functional/test_suites/data_plugin/index_patterns.ts:52:34)
[00:13:10]               │ 
[00:13:10]               │ 

Stack Trace

Error: expected false to equal true
    at Assertion.assert (packages/kbn-expect/expect.js:100:11)
    at Assertion.equal (packages/kbn-expect/expect.js:227:8)
    at Context.it (test/plugin_functional/test_suites/data_plugin/index_patterns.ts:52:34)

Metrics [docs]

distributable file count

id before after diff
default 43064 43062 -2
oss 22710 22713 +3

page load bundle size

id before after diff
data 957.3KB 957.6KB +251.0B
rollup 65.1KB 65.1KB -10.0B
total +241.0B

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

@mattkime mattkime closed this Nov 4, 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