You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POC - do not merge. This PR proposes how other plugins can register a custom data-source with the Maps-application. As an example, it uses ML.
Goal
Allow end-users to use the Maps-app to explore (any) data on a map. The example here is ML.
Retain a split in how the code is managed internally:
Maps-plugin focussed on display / "geo"-domain
ML-plugin contains "domain knowledge" of ML-data. Changes on that end are transparent to the Maps-app, as long as the ML-extensions continue to satisfy the contracts expected from Maps.
This would be an approach to satisfy #69064, and partly satisfy #60918.
A map with two layers with ML-anomaly data, typical and actual location for anomalies
Outline:
The 3rd party plugin uses registerSource/registerLayerWizard to register a custom source, and a custom "add layer wizard".
It would look something like:
import { MapsStartApi } from '../../../maps/public';
import { AnomalySource } from './anomaly_source';
import { SOURCE_TYPES } from '../../../maps/common/constants';
import { anomalyLayerWizard } from './anomaly_layer_wizard';
export function registerWithMaps(mapsStartApi: MapsStartApi) {
mapsStartApi.registerSource({
type: SOURCE_TYPES.ML_ANOMALY,
ConstructorFunction: AnomalySource,
});
mapsStartApi.registerLayerWizard(anomalyLayerWizard);
}
This plugin assumes responsibility for following content:
1. a serializable representation of the source.
Defining a serialized object that represents the source. The data-source need to be able to be fully restored from this. It is saved with the Maps saved-object.
This is equivalent to specifying a custom SourceDescriptor, with a type.
Typically, some UX is associated with these values so an end-user can configure these (see below).
The ability to serialize the definition of the data but not the data itself is important because then
Maps can generate URLs to maps with these sources
Users can embed these maps in dashboards
2. the data-fetch:
Based on global-state of Kibana, particular state of the Maps-app, and particular user-configuration of the source, the correct data needs to be show.
This is done by implementing IVectorSource.
The most important method is IVectorSource#getGeoJsonWithMeta , which returns the GeoJson, that Maps can use.
There are other important methods as well, that will determine how the source is displayed in the layerTOC, which fields it exposes, whether the source-data is time-dependent, etc...
Maps provides all the tooling for end-users to symbolize this data (icons, color-ramps, etc...).
3. the "add layer wizard"-UI
This is the "card" that users would click to add a new layer.
After the user completes this wizard, the source can be added with some ready-made styling that fits the use-case. (e.g. preselect color-ramps, icon-sizes, ...)
4. the source-settings UI
These are settings of the source that can be changed after the layer has been added to the Map. They allow for more fine-grained. Some of these settings can already be part of the "add layer wizard".
These do not include settings that cannot be modified. This would include settings that would break the internal-consistency of the layer-configuration.
Initial observations:
Maps-API is not sufficiently extensible
The current typing would require plugins to make internal modifications to some of the Maps-types. The need for these modifications should be avoided.
If plugins are required to implement the IVectorSource-interface, they cannot take advantage of some of the utilities in Maps, a lot which are shared through Abstract-classes in the current Maps codebase. Not exporting actual classes keeps the dependencies lean, at the expense of adding more responsibility to the plugin adding the extensions. Not sure what the correct balance would be.
No explicit tie to index-patterns
This implicitly abandons index-patterns as the only mechanism which a user map data that is stored in Elasticsearch.
For example, the global search-bar may not usable for these layers. There are other instances of Map-layers where this is the case as well.
Kibana Pipeline / general / X-Pack Visualization Wizard Tests with Lens and Maps disabled.x-pack/test/functional_vis_wizard/apps/visualization_wizard·ts.Visualization Wizard lens and maps disabled should not display lens and maps cards
Failed Tests Reporter:
- Test has failed 1 times on tracked branches: https://dryrun
[00:00:00] │
[00:00:00] └-: Visualization Wizard
[00:00:00] └-> "before all" hook in "Visualization Wizard"
[00:00:00] └-: lens and maps disabled
[00:00:00] └-> "before all" hook for "should not display lens and maps cards"
[00:00:00] └-> "before all" hook for "should not display lens and maps cards"
[00:00:00] │ info [logstash_functional] Loading "mappings.json"
[00:00:00] │ info [logstash_functional] Loading "data.json.gz"
[00:00:00] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:00] │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:00] │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:00:00] │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:00] │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:00:00] │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:00] │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [logstash-2015.09.21/dzp0f0GRT9quMqvnx4Hq4w] update_mapping [_doc]
[00:00:03] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [logstash-2015.09.20/WIJ8f-miQ6erwdgJMN5BvQ] update_mapping [_doc]
[00:00:09] │ info [logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:00:09] │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:09] │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:09] │ info [visualize/default] Loading "mappings.json"
[00:00:09] │ info [visualize/default] Loading "data.json"
[00:00:09] │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_task_manager_8.0.0_001/NgQjhimYT9CQwaSrbgSJfw] deleting index
[00:00:09] │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_001/DnnsdKBmR0a1eqU7QzUprQ] deleting index
[00:00:09] │ info [visualize/default] Deleted existing index ".kibana_8.0.0_001"
[00:00:09] │ info [visualize/default] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:00:09] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:00:09] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_1][0]]"
[00:00:09] │ info [visualize/default] Created index ".kibana_1"
[00:00:09] │ debg [visualize/default] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:00:09] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [metricbeat-7] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:09] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [metricbeat-7/LuJvjn6ARzCVZ2HYTe-MPw] create_mapping
[00:00:09] │ info [visualize/default] Indexed 8 docs into ".kibana_1"
[00:00:09] │ info [visualize/default] Indexed 1 docs into "metricbeat-7"
[00:00:09] │ debg Migrating saved objects
[00:00:09] │ proc [kibana] log [00:18:43.889] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 7ms.
[00:00:09] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:09] │ proc [kibana] log [00:18:43.897] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 17ms.
[00:00:09] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:00:09] │ proc [kibana] log [00:18:43.907] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> SET_SOURCE_WRITE_BLOCK. took: 10ms.
[00:00:09] │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] adding block write to indices [[.kibana_1/YEqx-cwaQxiL06-t_aQjgQ]]
[00:00:09] │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] completed adding block write to indices [.kibana_1]
[00:00:09] │ proc [kibana] log [00:18:43.961] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 72ms.
[00:00:09] │ proc [kibana] log [00:18:43.979] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 72ms.
[00:00:09] │ proc [kibana] log [00:18:43.991] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 30ms.
[00:00:09] │ proc [kibana] log [00:18:43.991] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 109ms
[00:00:09] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:00:09] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:00:09] │ proc [kibana] log [00:18:44.039] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 60ms.
[00:00:09] │ proc [kibana] log [00:18:44.053] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 14ms.
[00:00:09] │ proc [kibana] log [00:18:44.071] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 18ms.
[00:00:09] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_reindex_temp/pekFTy2uTSuOY9wnk0DuvA] update_mapping [_doc]
[00:00:10] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_reindex_temp/pekFTy2uTSuOY9wnk0DuvA] update_mapping [_doc]
[00:00:10] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_reindex_temp/pekFTy2uTSuOY9wnk0DuvA] update_mapping [_doc]
[00:00:10] │ proc [kibana] log [00:18:44.159] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_READ. took: 88ms.
[00:00:10] │ proc [kibana] log [00:18:44.178] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 19ms.
[00:00:10] │ proc [kibana] log [00:18:44.189] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 11ms.
[00:00:10] │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] adding block write to indices [[.kibana_8.0.0_reindex_temp/pekFTy2uTSuOY9wnk0DuvA]]
[00:00:10] │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:00:10] │ proc [kibana] log [00:18:44.230] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 41ms.
[00:00:10] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:00:10] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:00:10] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:00:10] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_001/s2Ogvu-BTlyXWUNThuJOxQ] create_mapping
[00:00:10] │ proc [kibana] log [00:18:44.343] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH. took: 112ms.
[00:00:10] │ proc [kibana] log [00:18:44.359] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS. took: 17ms.
[00:00:10] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_001/s2Ogvu-BTlyXWUNThuJOxQ] update_mapping [_doc]
[00:00:10] │ proc [kibana] log [00:18:44.418] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 59ms.
[00:00:10] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.tasks] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:10] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] updating number_of_replicas to [0] for indices [.tasks]
[00:00:10] │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] 2201 finished with response BulkByScrollResponse[took=25.4ms,timed_out=false,sliceId=null,updated=8,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:10] │ proc [kibana] log [00:18:44.539] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 120ms.
[00:00:10] │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_reindex_temp/pekFTy2uTSuOY9wnk0DuvA] deleting index
[00:00:10] │ proc [kibana] log [00:18:44.583] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 45ms.
[00:00:10] │ proc [kibana] log [00:18:44.584] [info][savedobjects-service] [.kibana] Migration completed after 704ms
[00:00:10] │ debg [visualize/default] Migrated Kibana index after loading Kibana data
[00:00:10] │ debg [visualize/default] Ensured that default space exists in .kibana
[00:00:10] │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:00:10] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_001/s2Ogvu-BTlyXWUNThuJOxQ] update_mapping [_doc]
[00:00:12] │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:00:13] └-> should not display lens and maps cards
[00:00:13] └-> "before each" hook: global before each for "should not display lens and maps cards"
[00:00:13] │ debg navigating to visualize url: http://localhost:61171/app/visualize#/
[00:00:13] │ debg navigate to: http://localhost:61171/app/visualize#/
[00:00:13] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087527303#/ 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:00:13] │
[00:00:13] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:13] │ debg ... sleep(700) start
[00:00:14] │ debg ... sleep(700) end
[00:00:14] │ debg returned from get, calling refresh
[00:00:14] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087527303#/ 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:00:14] │
[00:00:14] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:15] │ debg currentUrl = http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087527303#/
[00:00:15] │ appUrl = http://localhost:61171/app/visualize#/
[00:00:15] │ debg TestSubjects.find(kibanaChrome)
[00:00:15] │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 12:150934 TypeError: Cannot read property 'registerSource' of undefined
[00:00:25] │ at plugin_MlPlugin.start (http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js:2:78098)
[00:00:25] │ at plugin_PluginWrapper.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:223408)
[00:00:25] │ at plugins_service_PluginsService.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:228458)
[00:00:25] │ at core_system_CoreSystem.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:272888)
[00:00:25] │ at async Module.__kbnBootstrap__ (http://localhost:61171/42633/bundles/core/core.entry.js:13:276282)
[00:00:25] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:00:25] │ Error: Unauthorized"
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 5:2514
[00:00:25] │ debg browser[INFO] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js 129:5498 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:00:25] │ Please upgrade or ask whatever dependency you are using to upgrade.
[00:00:25] │ https://github.com/highlightjs/highlight.js/issues/2877"
[00:00:25] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:00:25] │ TypeError: Cannot read property 'registerSource' of undefined"
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js 1:78097 Uncaught TypeError: Cannot read property 'registerSource' of undefined
[00:00:25] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:00:25] │ EmptyError: no elements in sequence"
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087527303#/ 0:0 Uncaught e: no elements in sequence
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 297:178125 Uncaught e: no elements in sequence
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:16] │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:01:16] │ Wait timed out after 61449ms
[00:01:16] │ debg navigate to: http://localhost:61171/app/visualize#/
[00:01:17] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087591084#/ 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:01:17] │
[00:01:17] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:17] │ debg ... sleep(700) start
[00:01:17] │ debg ... sleep(700) end
[00:01:17] │ debg returned from get, calling refresh
[00:01:18] │ERROR browser[SEVERE] http://localhost:61171/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:18] │ERROR browser[SEVERE] http://localhost:61171/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:18] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 12:150934 TypeError: Failed to fetch
[00:01:18] │ at fetch_Fetch.fetchResponse (http://localhost:61171/42633/bundles/core/core.entry.js:6:26614)
[00:01:18] │ at async http://localhost:61171/42633/bundles/core/core.entry.js:6:24090
[00:01:18] │ at async http://localhost:61171/42633/bundles/core/core.entry.js:6:23996
[00:01:18] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087591084#/ 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:01:18] │
[00:01:18] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:18] │ debg currentUrl = http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087591084#/
[00:01:18] │ appUrl = http://localhost:61171/app/visualize#/
[00:01:18] │ debg TestSubjects.find(kibanaChrome)
[00:01:18] │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 12:150934 TypeError: Cannot read property 'registerSource' of undefined
[00:01:28] │ at plugin_MlPlugin.start (http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js:2:78098)
[00:01:28] │ at plugin_PluginWrapper.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:223408)
[00:01:28] │ at plugins_service_PluginsService.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:228458)
[00:01:28] │ at core_system_CoreSystem.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:272888)
[00:01:28] │ at async Module.__kbnBootstrap__ (http://localhost:61171/42633/bundles/core/core.entry.js:13:276282)
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:28] │ debg browser[INFO] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js 129:5498 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:01:28] │ Please upgrade or ask whatever dependency you are using to upgrade.
[00:01:28] │ https://github.com/highlightjs/highlight.js/issues/2877"
[00:01:28] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:01:28] │ TypeError: Cannot read property 'registerSource' of undefined"
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js 1:78097 Uncaught TypeError: Cannot read property 'registerSource' of undefined
[00:01:28] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:01:28] │ EmptyError: no elements in sequence"
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087591084#/ 0:0 Uncaught e: no elements in sequence
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 297:178125 Uncaught e: no elements in sequence
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:28] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:01:28] │ Error: Unauthorized"
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 5:2514
[00:02:19] │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:19] │ Wait timed out after 61195ms
[00:02:20] │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:20] │ Wait timed out after 61195ms
[00:02:20] │ at /dev/shm/workspace/parallel/17/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:02:20] │ at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:02:20] │ debg navigate to: http://localhost:61171/app/visualize#/
[00:02:21] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087654958#/ 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:02:21] │
[00:02:21] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:21] │ debg ... sleep(700) start
[00:02:21] │ debg ... sleep(700) end
[00:02:21] │ debg returned from get, calling refresh
[00:02:22] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 12:150934 TypeError: Failed to fetch
[00:02:22] │ at fetch_Fetch.fetchResponse (http://localhost:61171/42633/bundles/core/core.entry.js:6:26193)
[00:02:22] │ at async http://localhost:61171/42633/bundles/core/core.entry.js:6:24090
[00:02:22] │ at async http://localhost:61171/42633/bundles/core/core.entry.js:6:23996
[00:02:22] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087654958#/ 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:02:22] │
[00:02:22] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:22] │ debg currentUrl = http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087654958#/
[00:02:22] │ appUrl = http://localhost:61171/app/visualize#/
[00:02:22] │ debg TestSubjects.find(kibanaChrome)
[00:02:22] │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 12:150934 TypeError: Cannot read property 'registerSource' of undefined
[00:02:32] │ at plugin_MlPlugin.start (http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js:2:78098)
[00:02:32] │ at plugin_PluginWrapper.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:223408)
[00:02:32] │ at plugins_service_PluginsService.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:228458)
[00:02:32] │ at core_system_CoreSystem.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:272888)
[00:02:32] │ at async Module.__kbnBootstrap__ (http://localhost:61171/42633/bundles/core/core.entry.js:13:276282)
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:02:32] │ debg browser[INFO] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js 129:5498 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:02:32] │ Please upgrade or ask whatever dependency you are using to upgrade.
[00:02:32] │ https://github.com/highlightjs/highlight.js/issues/2877"
[00:02:32] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:02:32] │ TypeError: Cannot read property 'registerSource' of undefined"
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js 1:78097 Uncaught TypeError: Cannot read property 'registerSource' of undefined
[00:02:32] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:02:32] │ EmptyError: no elements in sequence"
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087654958#/ 0:0 Uncaught e: no elements in sequence
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 297:178125 Uncaught e: no elements in sequence
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:02:32] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:02:32] │ Error: Unauthorized"
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 5:2514
[00:03:23] │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:03:23] │ Wait timed out after 61198ms
[00:03:24] │ debg navigate to: http://localhost:61171/app/visualize#/
[00:03:24] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087718262#/ 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:03:24] │
[00:03:24] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:24] │ debg ... sleep(700) start
[00:03:25] │ debg ... sleep(700) end
[00:03:25] │ debg returned from get, calling refresh
[00:03:25] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 12:150934 TypeError: Failed to fetch
[00:03:25] │ at fetch_Fetch.fetchResponse (http://localhost:61171/42633/bundles/core/core.entry.js:6:26193)
[00:03:25] │ at async http://localhost:61171/42633/bundles/core/core.entry.js:6:24090
[00:03:25] │ at async http://localhost:61171/42633/bundles/core/core.entry.js:6:23996
[00:03:25] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087718262#/ 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:03:25] │
[00:03:25] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:25] │ debg currentUrl = http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087718262#/
[00:03:25] │ appUrl = http://localhost:61171/app/visualize#/
[00:03:25] │ debg TestSubjects.find(kibanaChrome)
[00:03:25] │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 12:150934 TypeError: Cannot read property 'registerSource' of undefined
[00:03:35] │ at plugin_MlPlugin.start (http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js:2:78098)
[00:03:35] │ at plugin_PluginWrapper.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:223408)
[00:03:35] │ at plugins_service_PluginsService.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:228458)
[00:03:35] │ at core_system_CoreSystem.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:272888)
[00:03:35] │ at async Module.__kbnBootstrap__ (http://localhost:61171/42633/bundles/core/core.entry.js:13:276282)
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:03:35] │ debg browser[INFO] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js 129:5498 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:03:35] │ Please upgrade or ask whatever dependency you are using to upgrade.
[00:03:35] │ https://github.com/highlightjs/highlight.js/issues/2877"
[00:03:35] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:03:35] │ TypeError: Cannot read property 'registerSource' of undefined"
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js 1:78097 Uncaught TypeError: Cannot read property 'registerSource' of undefined
[00:03:35] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:03:35] │ EmptyError: no elements in sequence"
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087718262#/ 0:0 Uncaught e: no elements in sequence
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 297:178125 Uncaught e: no elements in sequence
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:03:35] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:03:35] │ Error: Unauthorized"
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 5:2514
[00:04:26] │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:26] │ Wait timed out after 61211ms
[00:04:27] │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:27] │ Wait timed out after 61211ms
[00:04:27] │ at /dev/shm/workspace/parallel/17/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:27] │ at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:27] │ info Taking screenshot "/dev/shm/workspace/parallel/17/kibana/x-pack/test/functional/screenshots/failure/Visualization Wizard lens and maps disabled should not display lens and maps cards.png"
[00:04:28] │ info Current URL is: http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620087718262#/
[00:04:28] │ info Saving page source to: /dev/shm/workspace/parallel/17/kibana/x-pack/test/functional/failure_debug/html/Visualization Wizard lens and maps disabled should not display lens and maps cards.html
[00:04:28] └- ✖ fail: Visualization Wizard lens and maps disabled should not display lens and maps cards
[00:04:28] │ retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:28] │ Wait timed out after 61211ms
[00:04:28] │ at /dev/shm/workspace/parallel/17/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:28] │ at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:28] │ at onFailure (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:04:28] │ at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:28] │ at Retry.try (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:32:14)
[00:04:28] │ at /dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:227:23
[00:04:28] │ at runAttempt (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:04:28] │ at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:04:28] │ at Retry.tryForTime (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:23:14)
[00:04:28] │ at CommonPage.navigateToApp (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:226:7)
[00:04:28] │ at VisualizePage.navigateToNewVisualization (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/visualize_page.ts:120:7)
[00:04:28] │ at Context.<anonymous> (/dev/shm/workspace/parallel/17/kibana/x-pack/test/functional_vis_wizard/apps/visualization_wizard.ts:27:7)
[00:04:28] │ at Object.apply (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:28] │ Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:28] │ Wait timed out after 61211ms
[00:04:28] │ at /dev/shm/workspace/parallel/17/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:28] │ at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:28] │ at onFailure (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:04:28] │ at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:28] │ at Retry.try (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:32:14)
[00:04:28] │ at /dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:227:23
[00:04:28] │ at runAttempt (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:04:28] │ at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:04:28] │ at Retry.tryForTime (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:23:14)
[00:04:28] │ at CommonPage.navigateToApp (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:226:7)
[00:04:28] │ at VisualizePage.navigateToNewVisualization (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/visualize_page.ts:120:7)
[00:04:28] │ at Context.<anonymous> (test/functional_vis_wizard/apps/visualization_wizard.ts:27:7)
[00:04:28] │ at Object.apply (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:28] │ at onFailure (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:04:28] │ at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:28] │ at Retry.tryForTime (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:23:14)
[00:04:28] │ at CommonPage.navigateToApp (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:226:7)
[00:04:28] │ at VisualizePage.navigateToNewVisualization (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/visualize_page.ts:120:7)
[00:04:28] │ at Context.<anonymous> (test/functional_vis_wizard/apps/visualization_wizard.ts:27:7)
[00:04:28] │ at Object.apply (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:28] │
[00:04:28] │
Stack Trace
Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
Wait timed out after 61211ms
at /dev/shm/workspace/parallel/17/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at onFailure (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:17:9)
at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:57:13)
at Retry.try (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:32:14)
at /dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:227:23
at runAttempt (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:27:15)
at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:66:21)
at Retry.tryForTime (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:23:14)
at CommonPage.navigateToApp (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:226:7)
at VisualizePage.navigateToNewVisualization (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/visualize_page.ts:120:7)
at Context.<anonymous> (test/functional_vis_wizard/apps/visualization_wizard.ts:27:7)
at Object.apply (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
at onFailure (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:17:9)
at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:57:13)
at Retry.tryForTime (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:23:14)
at CommonPage.navigateToApp (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:226:7)
at VisualizePage.navigateToNewVisualization (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/visualize_page.ts:120:7)
at Context.<anonymous> (test/functional_vis_wizard/apps/visualization_wizard.ts:27:7)
at Object.apply (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
Kibana Pipeline / general / X-Pack Visualization Wizard Tests with Lens and Maps disabled.x-pack/test/functional_vis_wizard/apps/visualization_wizard·ts.Visualization Wizard lens and maps disabled should not display lens and maps cards
Failed Tests Reporter:
- Test has not failed recently on tracked branches
[00:00:00] │
[00:00:00] └-: Visualization Wizard
[00:00:00] └-> "before all" hook in "Visualization Wizard"
[00:00:00] └-: lens and maps disabled
[00:00:00] └-> "before all" hook for "should not display lens and maps cards"
[00:00:00] └-> "before all" hook for "should not display lens and maps cards"
[00:00:00] │ info [logstash_functional] Loading "mappings.json"
[00:00:00] │ info [logstash_functional] Loading "data.json.gz"
[00:00:00] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:00] │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:00] │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:00:00] │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:00] │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:00:00] │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:00] │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [logstash-2015.09.21/4ULI2j8cSvSxghqxk1x4jw] update_mapping [_doc]
[00:00:03] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [logstash-2015.09.20/uWz-z947T6WWZDNt3bzKAw] update_mapping [_doc]
[00:00:09] │ info [logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:00:09] │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:09] │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:09] │ info [visualize/default] Loading "mappings.json"
[00:00:09] │ info [visualize/default] Loading "data.json"
[00:00:09] │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_001/qe9CWmf9Qcej_mg6qkKyqg] deleting index
[00:00:09] │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_task_manager_8.0.0_001/RivwgCBITz-52liQ4VIUrg] deleting index
[00:00:09] │ info [visualize/default] Deleted existing index ".kibana_8.0.0_001"
[00:00:09] │ info [visualize/default] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:00:09] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:00:09] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_1][0]]"
[00:00:09] │ info [visualize/default] Created index ".kibana_1"
[00:00:09] │ debg [visualize/default] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:00:09] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [metricbeat-7] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:09] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [metricbeat-7/W5t0QlAyQs6DGjOvkso3WA] create_mapping
[00:00:09] │ info [visualize/default] Indexed 8 docs into ".kibana_1"
[00:00:09] │ info [visualize/default] Indexed 1 docs into "metricbeat-7"
[00:00:09] │ debg Migrating saved objects
[00:00:09] │ proc [kibana] log [22:56:30.113] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 6ms.
[00:00:09] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:09] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:00:09] │ proc [kibana] log [22:56:30.121] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 17ms.
[00:00:09] │ proc [kibana] log [22:56:30.130] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> SET_SOURCE_WRITE_BLOCK. took: 9ms.
[00:00:09] │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] adding block write to indices [[.kibana_1/ID0Gnw_VTWGkuNPeBtQ4bA]]
[00:00:09] │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] completed adding block write to indices [.kibana_1]
[00:00:09] │ proc [kibana] log [22:56:30.179] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 66ms.
[00:00:09] │ proc [kibana] log [22:56:30.195] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 65ms.
[00:00:09] │ proc [kibana] log [22:56:30.204] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 25ms.
[00:00:09] │ proc [kibana] log [22:56:30.205] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 98ms
[00:00:09] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:00:09] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:00:09] │ proc [kibana] log [22:56:30.255] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 60ms.
[00:00:09] │ proc [kibana] log [22:56:30.270] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 15ms.
[00:00:09] │ proc [kibana] log [22:56:30.288] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 18ms.
[00:00:09] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_reindex_temp/zMEgZWmQTGCvyfLFD7Qagw] update_mapping [_doc]
[00:00:09] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_reindex_temp/zMEgZWmQTGCvyfLFD7Qagw] update_mapping [_doc]
[00:00:09] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_reindex_temp/zMEgZWmQTGCvyfLFD7Qagw] update_mapping [_doc]
[00:00:09] │ proc [kibana] log [22:56:30.365] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_READ. took: 77ms.
[00:00:09] │ proc [kibana] log [22:56:30.384] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 19ms.
[00:00:09] │ proc [kibana] log [22:56:30.394] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 10ms.
[00:00:09] │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] adding block write to indices [[.kibana_8.0.0_reindex_temp/zMEgZWmQTGCvyfLFD7Qagw]]
[00:00:09] │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:00:09] │ proc [kibana] log [22:56:30.432] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 38ms.
[00:00:09] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:00:09] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:00:09] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:00:10] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_001/bMti611JQFKp3QkegpXGyw] create_mapping
[00:00:10] │ proc [kibana] log [22:56:30.538] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH. took: 106ms.
[00:00:10] │ proc [kibana] log [22:56:30.554] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS. took: 16ms.
[00:00:10] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_001/bMti611JQFKp3QkegpXGyw] update_mapping [_doc]
[00:00:10] │ proc [kibana] log [22:56:30.611] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 57ms.
[00:00:10] │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.tasks] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:10] │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] updating number_of_replicas to [0] for indices [.tasks]
[00:00:10] │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] 2185 finished with response BulkByScrollResponse[took=25.3ms,timed_out=false,sliceId=null,updated=8,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:10] │ proc [kibana] log [22:56:30.731] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 120ms.
[00:00:10] │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_reindex_temp/zMEgZWmQTGCvyfLFD7Qagw] deleting index
[00:00:10] │ proc [kibana] log [22:56:30.771] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 40ms.
[00:00:10] │ proc [kibana] log [22:56:30.772] [info][savedobjects-service] [.kibana] Migration completed after 668ms
[00:00:10] │ debg [visualize/default] Migrated Kibana index after loading Kibana data
[00:00:10] │ debg [visualize/default] Ensured that default space exists in .kibana
[00:00:10] │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:00:10] │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620076123884478646] [.kibana_8.0.0_001/bMti611JQFKp3QkegpXGyw] update_mapping [_doc]
[00:00:12] │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:00:13] └-> should not display lens and maps cards
[00:00:13] └-> "before each" hook: global before each for "should not display lens and maps cards"
[00:00:13] │ debg navigating to visualize url: http://localhost:61171/app/visualize#/
[00:00:13] │ debg navigate to: http://localhost:61171/app/visualize#/
[00:00:13] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082593511#/ 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:00:13] │
[00:00:13] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:13] │ debg ... sleep(700) start
[00:00:13] │ debg ... sleep(700) end
[00:00:13] │ debg returned from get, calling refresh
[00:00:14] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082593511#/ 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:00:14] │
[00:00:14] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:15] │ debg currentUrl = http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082593511#/
[00:00:15] │ appUrl = http://localhost:61171/app/visualize#/
[00:00:15] │ debg TestSubjects.find(kibanaChrome)
[00:00:15] │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 12:150934 TypeError: Cannot read property 'registerSource' of undefined
[00:00:25] │ at plugin_MlPlugin.start (http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js:2:78098)
[00:00:25] │ at plugin_PluginWrapper.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:223408)
[00:00:25] │ at plugins_service_PluginsService.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:228458)
[00:00:25] │ at core_system_CoreSystem.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:272888)
[00:00:25] │ at async Module.__kbnBootstrap__ (http://localhost:61171/42633/bundles/core/core.entry.js:13:276282)
[00:00:25] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:00:25] │ Error: Unauthorized"
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 5:2514
[00:00:25] │ debg browser[INFO] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js 129:5498 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:00:25] │ Please upgrade or ask whatever dependency you are using to upgrade.
[00:00:25] │ https://github.com/highlightjs/highlight.js/issues/2877"
[00:00:25] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:00:25] │ TypeError: Cannot read property 'registerSource' of undefined"
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js 1:78097 Uncaught TypeError: Cannot read property 'registerSource' of undefined
[00:00:25] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:00:25] │ EmptyError: no elements in sequence"
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082593511#/ 0:0 Uncaught e: no elements in sequence
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 297:178125 Uncaught e: no elements in sequence
[00:00:25] │ERROR browser[SEVERE] http://localhost:61171/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:16] │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:01:16] │ Wait timed out after 61212ms
[00:01:16] │ debg navigate to: http://localhost:61171/app/visualize#/
[00:01:17] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082657336#/ 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:01:17] │
[00:01:17] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:17] │ debg ... sleep(700) start
[00:01:17] │ debg ... sleep(700) end
[00:01:17] │ debg returned from get, calling refresh
[00:01:18] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 12:150934 TypeError: Failed to fetch
[00:01:18] │ at fetch_Fetch.fetchResponse (http://localhost:61171/42633/bundles/core/core.entry.js:6:26193)
[00:01:18] │ at async http://localhost:61171/42633/bundles/core/core.entry.js:6:24090
[00:01:18] │ at async http://localhost:61171/42633/bundles/core/core.entry.js:6:23996
[00:01:18] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082657336#/ 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:01:18] │
[00:01:18] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:18] │ debg currentUrl = http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082657336#/
[00:01:18] │ appUrl = http://localhost:61171/app/visualize#/
[00:01:18] │ debg TestSubjects.find(kibanaChrome)
[00:01:18] │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 12:150934 TypeError: Cannot read property 'registerSource' of undefined
[00:01:28] │ at plugin_MlPlugin.start (http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js:2:78098)
[00:01:28] │ at plugin_PluginWrapper.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:223408)
[00:01:28] │ at plugins_service_PluginsService.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:228458)
[00:01:28] │ at core_system_CoreSystem.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:272888)
[00:01:28] │ at async Module.__kbnBootstrap__ (http://localhost:61171/42633/bundles/core/core.entry.js:13:276282)
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:28] │ debg browser[INFO] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js 129:5498 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:01:28] │ Please upgrade or ask whatever dependency you are using to upgrade.
[00:01:28] │ https://github.com/highlightjs/highlight.js/issues/2877"
[00:01:28] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:01:28] │ TypeError: Cannot read property 'registerSource' of undefined"
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js 1:78097 Uncaught TypeError: Cannot read property 'registerSource' of undefined
[00:01:28] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:01:28] │ EmptyError: no elements in sequence"
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082657336#/ 0:0 Uncaught e: no elements in sequence
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 297:178125 Uncaught e: no elements in sequence
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:28] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:01:28] │ Error: Unauthorized"
[00:01:28] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 5:2514
[00:02:19] │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:19] │ Wait timed out after 61167ms
[00:02:20] │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:20] │ Wait timed out after 61167ms
[00:02:20] │ at /dev/shm/workspace/parallel/17/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:02:20] │ at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:02:20] │ debg navigate to: http://localhost:61171/app/visualize#/
[00:02:20] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082721124#/ 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:02:20] │
[00:02:20] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:20] │ debg ... sleep(700) start
[00:02:21] │ debg ... sleep(700) end
[00:02:21] │ debg returned from get, calling refresh
[00:02:22] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 12:150934 TypeError: Failed to fetch
[00:02:22] │ at fetch_Fetch.fetchResponse (http://localhost:61171/42633/bundles/core/core.entry.js:6:26193)
[00:02:22] │ at async http://localhost:61171/42633/bundles/core/core.entry.js:6:24090
[00:02:22] │ at async http://localhost:61171/42633/bundles/core/core.entry.js:6:23996
[00:02:22] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082721124#/ 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:02:22] │
[00:02:22] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:22] │ debg currentUrl = http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082721124#/
[00:02:22] │ appUrl = http://localhost:61171/app/visualize#/
[00:02:22] │ debg TestSubjects.find(kibanaChrome)
[00:02:22] │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 12:150934 TypeError: Cannot read property 'registerSource' of undefined
[00:02:32] │ at plugin_MlPlugin.start (http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js:2:78098)
[00:02:32] │ at plugin_PluginWrapper.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:223408)
[00:02:32] │ at plugins_service_PluginsService.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:228458)
[00:02:32] │ at core_system_CoreSystem.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:272888)
[00:02:32] │ at async Module.__kbnBootstrap__ (http://localhost:61171/42633/bundles/core/core.entry.js:13:276282)
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:02:32] │ debg browser[INFO] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js 129:5498 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:02:32] │ Please upgrade or ask whatever dependency you are using to upgrade.
[00:02:32] │ https://github.com/highlightjs/highlight.js/issues/2877"
[00:02:32] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:02:32] │ TypeError: Cannot read property 'registerSource' of undefined"
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js 1:78097 Uncaught TypeError: Cannot read property 'registerSource' of undefined
[00:02:32] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:02:32] │ EmptyError: no elements in sequence"
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082721124#/ 0:0 Uncaught e: no elements in sequence
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 297:178125 Uncaught e: no elements in sequence
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:02:32] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:02:32] │ Error: Unauthorized"
[00:02:32] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 5:2514
[00:03:23] │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:03:23] │ Wait timed out after 61193ms
[00:03:23] │ debg navigate to: http://localhost:61171/app/visualize#/
[00:03:24] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082784404#/ 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:03:24] │
[00:03:24] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:24] │ debg ... sleep(700) start
[00:03:24] │ debg ... sleep(700) end
[00:03:24] │ debg returned from get, calling refresh
[00:03:25] │ERROR browser[SEVERE] http://localhost:61171/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:03:25] │ERROR browser[SEVERE] http://localhost:61171/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:03:25] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:03:25] │ Error: Unauthorized"
[00:03:25] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 5:2514
[00:03:25] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 12:150934 TypeError: Cannot read property 'registerSource' of undefined
[00:03:25] │ at plugin_MlPlugin.start (http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js:2:78098)
[00:03:25] │ at plugin_PluginWrapper.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:223408)
[00:03:25] │ at plugins_service_PluginsService.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:228458)
[00:03:25] │ at core_system_CoreSystem.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:272888)
[00:03:25] │ at async Module.__kbnBootstrap__ (http://localhost:61171/42633/bundles/core/core.entry.js:13:276282)
[00:03:25] │ debg browser[INFO] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082784404#/ 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:03:25] │
[00:03:25] │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:25] │ debg currentUrl = http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082784404#/
[00:03:25] │ appUrl = http://localhost:61171/app/visualize#/
[00:03:25] │ debg TestSubjects.find(kibanaChrome)
[00:03:25] │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 12:150934 TypeError: Cannot read property 'registerSource' of undefined
[00:03:35] │ at plugin_MlPlugin.start (http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js:2:78098)
[00:03:35] │ at plugin_PluginWrapper.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:223408)
[00:03:35] │ at plugins_service_PluginsService.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:228458)
[00:03:35] │ at core_system_CoreSystem.start (http://localhost:61171/42633/bundles/core/core.entry.js:13:272888)
[00:03:35] │ at async Module.__kbnBootstrap__ (http://localhost:61171/42633/bundles/core/core.entry.js:13:276282)
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:03:35] │ debg browser[INFO] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js 129:5498 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:03:35] │ Please upgrade or ask whatever dependency you are using to upgrade.
[00:03:35] │ https://github.com/highlightjs/highlight.js/issues/2877"
[00:03:35] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:03:35] │ TypeError: Cannot read property 'registerSource' of undefined"
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/plugin/ml/8.0.0/ml.plugin.js 1:78097 Uncaught TypeError: Cannot read property 'registerSource' of undefined
[00:03:35] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:03:35] │ EmptyError: no elements in sequence"
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082784404#/ 0:0 Uncaught e: no elements in sequence
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 297:178125 Uncaught e: no elements in sequence
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:03:35] │ debg browser[INFO] http://localhost:61171/42633/bundles/core/core.entry.js 12:151862 "Detected an unhandled Promise rejection.
[00:03:35] │ Error: Unauthorized"
[00:03:35] │ERROR browser[SEVERE] http://localhost:61171/42633/bundles/core/core.entry.js 5:2514
[00:04:26] │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:26] │ Wait timed out after 61206ms
[00:04:27] │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:27] │ Wait timed out after 61206ms
[00:04:27] │ at /dev/shm/workspace/parallel/17/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:27] │ at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:27] │ info Taking screenshot "/dev/shm/workspace/parallel/17/kibana/x-pack/test/functional/screenshots/failure/Visualization Wizard lens and maps disabled should not display lens and maps cards.png"
[00:04:27] │ info Current URL is: http://localhost:61171/login?next=%2Fapp%2Fvisualize%3F_t%3D1620082784404#/
[00:04:27] │ info Saving page source to: /dev/shm/workspace/parallel/17/kibana/x-pack/test/functional/failure_debug/html/Visualization Wizard lens and maps disabled should not display lens and maps cards.html
[00:04:27] └- ✖ fail: Visualization Wizard lens and maps disabled should not display lens and maps cards
[00:04:27] │ retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:27] │ Wait timed out after 61206ms
[00:04:27] │ at /dev/shm/workspace/parallel/17/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:27] │ at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:27] │ at onFailure (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:04:27] │ at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:27] │ at Retry.try (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:32:14)
[00:04:27] │ at /dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:227:23
[00:04:27] │ at runAttempt (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:04:27] │ at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:04:27] │ at Retry.tryForTime (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:23:14)
[00:04:27] │ at CommonPage.navigateToApp (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:226:7)
[00:04:27] │ at VisualizePage.navigateToNewVisualization (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/visualize_page.ts:120:7)
[00:04:27] │ at Context.<anonymous> (/dev/shm/workspace/parallel/17/kibana/x-pack/test/functional_vis_wizard/apps/visualization_wizard.ts:27:7)
[00:04:27] │ at Object.apply (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:27] │ Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:27] │ Wait timed out after 61206ms
[00:04:27] │ at /dev/shm/workspace/parallel/17/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:27] │ at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:27] │ at onFailure (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:04:27] │ at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:27] │ at Retry.try (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:32:14)
[00:04:27] │ at /dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:227:23
[00:04:27] │ at runAttempt (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:04:27] │ at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:04:27] │ at Retry.tryForTime (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:23:14)
[00:04:27] │ at CommonPage.navigateToApp (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:226:7)
[00:04:27] │ at VisualizePage.navigateToNewVisualization (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/visualize_page.ts:120:7)
[00:04:27] │ at Context.<anonymous> (test/functional_vis_wizard/apps/visualization_wizard.ts:27:7)
[00:04:27] │ at Object.apply (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:27] │ at onFailure (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:04:27] │ at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:27] │ at Retry.tryForTime (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:23:14)
[00:04:27] │ at CommonPage.navigateToApp (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:226:7)
[00:04:27] │ at VisualizePage.navigateToNewVisualization (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/visualize_page.ts:120:7)
[00:04:27] │ at Context.<anonymous> (test/functional_vis_wizard/apps/visualization_wizard.ts:27:7)
[00:04:27] │ at Object.apply (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:27] │
[00:04:27] │
Stack Trace
Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
Wait timed out after 61206ms
at /dev/shm/workspace/parallel/17/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at onFailure (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:17:9)
at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:57:13)
at Retry.try (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:32:14)
at /dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:227:23
at runAttempt (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:27:15)
at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:66:21)
at Retry.tryForTime (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:23:14)
at CommonPage.navigateToApp (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:226:7)
at VisualizePage.navigateToNewVisualization (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/visualize_page.ts:120:7)
at Context.<anonymous> (test/functional_vis_wizard/apps/visualization_wizard.ts:27:7)
at Object.apply (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
at onFailure (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:17:9)
at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:57:13)
at Retry.tryForTime (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:23:14)
at CommonPage.navigateToApp (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:226:7)
at VisualizePage.navigateToNewVisualization (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/visualize_page.ts:120:7)
at Context.<anonymous> (test/functional_vis_wizard/apps/visualization_wizard.ts:27:7)
at Object.apply (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.
Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.
@thomasneirynck - seems to be working on my end - had to update AnomalySource class to adhere to newer types but I was able to get it working locally. Would be good to catch up on which map changes will go in to support this.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
POC - do not merge. This PR proposes how other plugins can register a custom data-source with the Maps-application. As an example, it uses ML.
Goal
This would be an approach to satisfy #69064, and partly satisfy #60918.
A map with two layers with ML-anomaly data, typical and actual location for anomalies
Outline:
The 3rd party plugin uses
registerSource
/registerLayerWizard
to register a custom source, and a custom "add layer wizard".It would look something like:
and in the MLPlugin#start-function
This plugin assumes responsibility for following content:
1. a serializable representation of the source.
Defining a serialized object that represents the source. The data-source need to be able to be fully restored from this. It is saved with the Maps saved-object.
This is equivalent to specifying a custom
SourceDescriptor
, with a type.e.g.:
Typically, some UX is associated with these values so an end-user can configure these (see below).
The ability to serialize the definition of the data but not the data itself is important because then
2. the data-fetch:
Based on global-state of Kibana, particular state of the Maps-app, and particular user-configuration of the source, the correct data needs to be show.
This is done by implementing
IVectorSource
.The most important method is
IVectorSource#getGeoJsonWithMeta
, which returns theGeoJson
, that Maps can use.There are other important methods as well, that will determine how the source is displayed in the layerTOC, which fields it exposes, whether the source-data is time-dependent, etc...
Maps provides all the tooling for end-users to symbolize this data (icons, color-ramps, etc...).
3. the "add layer wizard"-UI
This is the "card" that users would click to add a new layer.
After the user completes this wizard, the source can be added with some ready-made styling that fits the use-case. (e.g. preselect color-ramps, icon-sizes, ...)
4. the source-settings UI
These are settings of the source that can be changed after the layer has been added to the Map. They allow for more fine-grained. Some of these settings can already be part of the "add layer wizard".
These do not include settings that cannot be modified. This would include settings that would break the internal-consistency of the layer-configuration.
Initial observations:
Maps-API is not sufficiently extensible
IVectorSource
-interface, they cannot take advantage of some of the utilities in Maps, a lot which are shared throughAbstract
-classes in the current Maps codebase. Not exporting actual classes keeps the dependencies lean, at the expense of adding more responsibility to the plugin adding the extensions. Not sure what the correct balance would be.No explicit tie to index-patterns
This implicitly abandons index-patterns as the only mechanism which a user map data that is stored in Elasticsearch.
For example, the global search-bar may not usable for these layers. There are other instances of Map-layers where this is the case as well.