Skip to content

[7.x] prevent double update (#86794)#87135

Merged
flash1293 merged 1 commit intoelastic:7.xfrom
flash1293:backport/7.x/pr-86794
Jan 4, 2021
Merged

[7.x] prevent double update (#86794)#87135
flash1293 merged 1 commit intoelastic:7.xfrom
flash1293:backport/7.x/pr-86794

Conversation

@flash1293
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

@flash1293 flash1293 added the backport This PR is a backport of another PR label Jan 4, 2021
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Chrome UI Functional Tests.test/functional/apps/visualize/_inspector·ts.visualize app inspector "before all" hook in "inspector"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: visualize app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg Starting visualize before method
[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-debian-tests-xxl-1609763006807143555] [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-debian-tests-xxl-1609763006807143555] Cluster health status changed from [YELLOW] to [GREEN] (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-debian-tests-xxl-1609763006807143555] [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-debian-tests-xxl-1609763006807143555] Cluster health status changed from [YELLOW] to [GREEN] (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-debian-tests-xxl-1609763006807143555] [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-debian-tests-xxl-1609763006807143555] Cluster health status changed from [YELLOW] to [GREEN] (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:10]             │ info progress: 2105
[00:00:20]             │ info progress: 6912
[00:00:28]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:28]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:28]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:29]             │ info [long_window_logstash] Loading "mappings.json"
[00:00:29]             │ info [long_window_logstash] Loading "data.json.gz"
[00:00:29]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:00:29]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[long-window-logstash-0][0]]]).
[00:00:29]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:00:29]             │ debg [long_window_logstash] "long-window-logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:39]             │ info progress: 8427
[00:00:45]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:00:46]             │ info [visualize] Loading "mappings.json"
[00:00:46]             │ info [visualize] Loading "data.json"
[00:00:46]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] [.kibana_1/UcdkLLrAQSua1lRef3t92w] deleting index
[00:00:46]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:46]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:46]             │ info [visualize] Created index ".kibana"
[00:00:46]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:46]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] [.kibana/CzAfduS-QMG0t07AMHBrJQ] update_mapping [_doc]
[00:00:46]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:46]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] [.kibana/CzAfduS-QMG0t07AMHBrJQ] update_mapping [_doc]
[00:00:46]             │ debg Migrating saved objects
[00:00:46]             │ proc [kibana]   log   [12:43:30.587] [info][savedobjects-service] Creating index .kibana_2.
[00:00:46]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:46]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:46]             │ proc [kibana]   log   [12:43:30.679] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:46]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:46]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:46]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:46]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] updating number_of_replicas to [0] for indices [.tasks]
[00:00:46]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] 1531 finished with response BulkByScrollResponse[took=71.5ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:47]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] [.kibana/CzAfduS-QMG0t07AMHBrJQ] deleting index
[00:00:47]             │ proc [kibana]   log   [12:43:31.076] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:47]             │ proc [kibana]   log   [12:43:31.110] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:47]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] [.kibana_2/QWV-5yOWQnqf0IQf69JvZQ] update_mapping [_doc]
[00:00:47]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] [.kibana_2/QWV-5yOWQnqf0IQf69JvZQ] update_mapping [_doc]
[00:00:47]             │ proc [kibana]   log   [12:43:31.235] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:47]             │ proc [kibana]   log   [12:43:31.283] [info][savedobjects-service] Finished in 698ms.
[00:00:47]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:47]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1609763006807143555] [.kibana_2/QWV-5yOWQnqf0IQf69JvZQ] update_mapping [_doc]
[00:00:48]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:00:49]           └-: 
[00:00:49]             └-> "before all" hook
[00:00:49]             └-: inspector
[00:00:49]               └-> "before all" hook
[00:00:49]               └-> "before all" hook
[00:00:49]                 │ debg navigating to visualize url: http://localhost:61111/app/visualize#/
[00:00:49]                 │ debg navigate to: http://localhost:61111/app/visualize#/
[00:00:49]                 │ debg browser[INFO] http://localhost:61111/app/visualize?_t=1609764213736#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:49]                 │
[00:00:49]                 │ debg browser[INFO] http://localhost:61111/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:49]                 │ debg ... sleep(700) start
[00:00:50]                 │ debg ... sleep(700) end
[00:00:50]                 │ debg returned from get, calling refresh
[00:00:51]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:195058 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:00:51]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60155)
[00:00:51]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60970)
[00:00:51]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61111/37617/bundles/plugin/data/data.plugin.js:8:233403)
[00:00:51]                 │          at _callee$ (http://localhost:61111/37617/bundles/core/core.entry.js:13:251977)
[00:00:51]                 │          at l (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:00:51]                 │          at Generator._invoke (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:00:51]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:00:51]                 │          at plugin_asyncGeneratorStep (http://localhost:61111/37617/bundles/core/core.entry.js:13:250081)
[00:00:51]                 │          at _next (http://localhost:61111/37617/bundles/core/core.entry.js:13:250398)
[00:00:51]                 │ debg browser[INFO] http://localhost:61111/app/visualize?_t=1609764213736#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:51]                 │
[00:00:51]                 │ debg browser[INFO] http://localhost:61111/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:52]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:195058 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:00:52]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60155)
[00:00:52]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60970)
[00:00:52]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61111/37617/bundles/plugin/data/data.plugin.js:8:233403)
[00:00:52]                 │          at _callee$ (http://localhost:61111/37617/bundles/core/core.entry.js:13:251977)
[00:00:52]                 │          at l (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:00:52]                 │          at Generator._invoke (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:00:52]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:00:52]                 │          at plugin_asyncGeneratorStep (http://localhost:61111/37617/bundles/core/core.entry.js:13:250081)
[00:00:52]                 │          at _next (http://localhost:61111/37617/bundles/core/core.entry.js:13:250398)
[00:00:52]                 │ debg browser[INFO] http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:89301 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:00:52]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:00:52]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:00:52]                 │ debg browser[INFO] http://localhost:61111/37617/bundles/core/core.entry.js 12:196005 "Detected an unhandled Promise rejection.
[00:00:52]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:00:52]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:354178 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:00:52]                 │ debg currentUrl = http://localhost:61111/app/visualize#/
[00:00:52]                 │          appUrl = http://localhost:61111/app/visualize#/
[00:00:52]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:52]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:52]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:01:52]                 │      Wait timed out after 60002ms
[00:01:52]                 │ debg navigate to: http://localhost:61111/app/visualize#/
[00:01:52]                 │ debg browser[INFO] http://localhost:61111/app/visualize?_t=1609764276607#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:52]                 │
[00:01:52]                 │ debg browser[INFO] http://localhost:61111/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:52]                 │ debg ... sleep(700) start
[00:01:53]                 │ debg ... sleep(700) end
[00:01:53]                 │ debg returned from get, calling refresh
[00:01:53]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:195058 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:01:53]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60155)
[00:01:53]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60970)
[00:01:53]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61111/37617/bundles/plugin/data/data.plugin.js:8:233403)
[00:01:53]                 │          at _callee$ (http://localhost:61111/37617/bundles/core/core.entry.js:13:251977)
[00:01:53]                 │          at l (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:01:53]                 │          at Generator._invoke (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:01:53]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:01:53]                 │          at plugin_asyncGeneratorStep (http://localhost:61111/37617/bundles/core/core.entry.js:13:250081)
[00:01:53]                 │          at _next (http://localhost:61111/37617/bundles/core/core.entry.js:13:250398)
[00:01:53]                 │ debg browser[INFO] http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:89301 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:01:53]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:01:53]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:01:53]                 │ debg browser[INFO] http://localhost:61111/37617/bundles/core/core.entry.js 12:196005 "Detected an unhandled Promise rejection.
[00:01:53]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:01:53]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:354178 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:01:53]                 │ debg browser[INFO] http://localhost:61111/app/visualize?_t=1609764276607#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:53]                 │
[00:01:53]                 │ debg browser[INFO] http://localhost:61111/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:53]                 │ debg currentUrl = http://localhost:61111/app/visualize#/
[00:01:53]                 │          appUrl = http://localhost:61111/app/visualize#/
[00:01:53]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:53]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:54]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:195058 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:01:54]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60155)
[00:01:54]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60970)
[00:01:54]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61111/37617/bundles/plugin/data/data.plugin.js:8:233403)
[00:01:54]                 │          at _callee$ (http://localhost:61111/37617/bundles/core/core.entry.js:13:251977)
[00:01:54]                 │          at l (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:01:54]                 │          at Generator._invoke (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:01:54]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:01:54]                 │          at plugin_asyncGeneratorStep (http://localhost:61111/37617/bundles/core/core.entry.js:13:250081)
[00:01:54]                 │          at _next (http://localhost:61111/37617/bundles/core/core.entry.js:13:250398)
[00:01:54]                 │ debg browser[INFO] http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:89301 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:01:54]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:01:54]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:01:54]                 │ debg browser[INFO] http://localhost:61111/37617/bundles/core/core.entry.js 12:196005 "Detected an unhandled Promise rejection.
[00:01:54]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:01:54]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:354178 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:02:53]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:53]                 │      Wait timed out after 60087ms
[00:02:54]                 │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:54]                 │      Wait timed out after 60087ms
[00:02:54]                 │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:02:54]                 │          at runMicrotasks (<anonymous>)
[00:02:54]                 │          at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:02:54]                 │ debg navigate to: http://localhost:61111/app/visualize#/
[00:02:54]                 │ debg browser[INFO] http://localhost:61111/app/visualize?_t=1609764338710#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:54]                 │
[00:02:54]                 │ debg browser[INFO] http://localhost:61111/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:54]                 │ debg ... sleep(700) start
[00:02:55]                 │ debg ... sleep(700) end
[00:02:55]                 │ debg returned from get, calling refresh
[00:02:55]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:195058 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:02:55]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60155)
[00:02:55]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60970)
[00:02:55]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61111/37617/bundles/plugin/data/data.plugin.js:8:233403)
[00:02:55]                 │          at _callee$ (http://localhost:61111/37617/bundles/core/core.entry.js:13:251977)
[00:02:55]                 │          at l (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:02:55]                 │          at Generator._invoke (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:02:55]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:02:55]                 │          at plugin_asyncGeneratorStep (http://localhost:61111/37617/bundles/core/core.entry.js:13:250081)
[00:02:55]                 │          at _next (http://localhost:61111/37617/bundles/core/core.entry.js:13:250398)
[00:02:55]                 │ debg browser[INFO] http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:89301 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:02:55]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:02:55]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:02:55]                 │ debg browser[INFO] http://localhost:61111/37617/bundles/core/core.entry.js 12:196005 "Detected an unhandled Promise rejection.
[00:02:55]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:02:55]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:354178 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:02:55]                 │ debg browser[INFO] http://localhost:61111/app/visualize?_t=1609764338710#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:55]                 │
[00:02:55]                 │ debg browser[INFO] http://localhost:61111/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:56]                 │ debg currentUrl = http://localhost:61111/app/visualize#/
[00:02:56]                 │          appUrl = http://localhost:61111/app/visualize#/
[00:02:56]                 │ debg TestSubjects.find(kibanaChrome)
[00:02:56]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:56]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:195058 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:02:56]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60155)
[00:02:56]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60970)
[00:02:56]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61111/37617/bundles/plugin/data/data.plugin.js:8:233403)
[00:02:56]                 │          at _callee$ (http://localhost:61111/37617/bundles/core/core.entry.js:13:251977)
[00:02:56]                 │          at l (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:02:56]                 │          at Generator._invoke (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:02:56]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:02:56]                 │          at plugin_asyncGeneratorStep (http://localhost:61111/37617/bundles/core/core.entry.js:13:250081)
[00:02:56]                 │          at _next (http://localhost:61111/37617/bundles/core/core.entry.js:13:250398)
[00:02:56]                 │ debg browser[INFO] http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:89301 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:02:56]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:02:56]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:02:56]                 │ debg browser[INFO] http://localhost:61111/37617/bundles/core/core.entry.js 12:196005 "Detected an unhandled Promise rejection.
[00:02:56]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:02:56]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:354178 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:03:56]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:03:56]                 │      Wait timed out after 60202ms
[00:03:56]                 │ debg navigate to: http://localhost:61111/app/visualize#/
[00:03:56]                 │ debg browser[INFO] http://localhost:61111/app/visualize?_t=1609764400766#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:03:56]                 │
[00:03:56]                 │ debg browser[INFO] http://localhost:61111/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:56]                 │ debg ... sleep(700) start
[00:03:57]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:195058 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:03:57]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60155)
[00:03:57]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60970)
[00:03:57]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61111/37617/bundles/plugin/data/data.plugin.js:8:233403)
[00:03:57]                 │          at _callee$ (http://localhost:61111/37617/bundles/core/core.entry.js:13:251977)
[00:03:57]                 │          at l (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:03:57]                 │          at Generator._invoke (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:03:57]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:03:57]                 │          at plugin_asyncGeneratorStep (http://localhost:61111/37617/bundles/core/core.entry.js:13:250081)
[00:03:57]                 │          at _next (http://localhost:61111/37617/bundles/core/core.entry.js:13:250398)
[00:03:57]                 │ debg browser[INFO] http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:89301 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:03:57]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:03:57]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:03:57]                 │ debg browser[INFO] http://localhost:61111/37617/bundles/core/core.entry.js 12:196005 "Detected an unhandled Promise rejection.
[00:03:57]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:03:57]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:354178 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:03:57]                 │ debg ... sleep(700) end
[00:03:57]                 │ debg returned from get, calling refresh
[00:03:57]                 │ debg browser[INFO] http://localhost:61111/app/visualize?_t=1609764400766#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:03:57]                 │
[00:03:57]                 │ debg browser[INFO] http://localhost:61111/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:57]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:195058 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:03:57]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60155)
[00:03:57]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61111/37617/bundles/plugin/uiActions/uiActions.plugin.js:1:60970)
[00:03:57]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61111/37617/bundles/plugin/data/data.plugin.js:8:233403)
[00:03:57]                 │          at _callee$ (http://localhost:61111/37617/bundles/core/core.entry.js:13:251977)
[00:03:57]                 │          at l (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:03:57]                 │          at Generator._invoke (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:03:57]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:03:57]                 │          at plugin_asyncGeneratorStep (http://localhost:61111/37617/bundles/core/core.entry.js:13:250081)
[00:03:57]                 │          at _next (http://localhost:61111/37617/bundles/core/core.entry.js:13:250398)
[00:03:57]                 │ debg browser[INFO] http://localhost:61111/37617/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:89301 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:03:57]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:03:57]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:03:57]                 │ debg browser[INFO] http://localhost:61111/37617/bundles/core/core.entry.js 12:196005 "Detected an unhandled Promise rejection.
[00:03:57]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:03:57]                 │ERROR browser[SEVERE] http://localhost:61111/37617/bundles/core/core.entry.js 12:354178 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:03:57]                 │ debg currentUrl = http://localhost:61111/app/visualize#/
[00:03:57]                 │          appUrl = http://localhost:61111/app/visualize#/
[00:03:57]                 │ debg TestSubjects.find(kibanaChrome)
[00:03:57]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:04:58]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:58]                 │      Wait timed out after 60132ms
[00:04:58]                 │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:58]                 │      Wait timed out after 60132ms
[00:04:58]                 │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:58]                 │          at runMicrotasks (<anonymous>)
[00:04:58]                 │          at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:59]                 │ info Taking screenshot "/dev/shm/workspace/parallel/11/kibana/test/functional/screenshots/failure/visualize app  inspector _before all_ hook.png"
[00:04:59]                 │ info Current URL is: http://localhost:61111/app/visualize#/
[00:04:59]                 │ info Saving page source to: /dev/shm/workspace/parallel/11/kibana/test/functional/failure_debug/html/visualize app  inspector _before all_ hook.html
[00:04:59]                 └- ✖ fail: visualize app  inspector "before all" hook in "inspector"
[00:04:59]                 │      retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:59]                 │ Wait timed out after 60132ms
[00:04:59]                 │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:59]                 │     at runMicrotasks (<anonymous>)
[00:04:59]                 │     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:59]                 │     at onFailure (/dev/shm/workspace/parallel/11/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:04:59]                 │     at retryForSuccess (/dev/shm/workspace/parallel/11/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:04:59]                 │     at Retry.try (/dev/shm/workspace/parallel/11/kibana/test/common/services/retry/retry.ts:43:14)
[00:04:59]                 │     at /dev/shm/workspace/parallel/11/kibana/test/functional/page_objects/common_page.ts:238:23
[00:04:59]                 │     at runAttempt (/dev/shm/workspace/parallel/11/kibana/test/common/services/retry/retry_for_success.ts:38:15)
[00:04:59]                 │     at retryForSuccess (/dev/shm/workspace/parallel/11/kibana/test/common/services/retry/retry_for_success.ts:77:21)
[00:04:59]                 │     at Retry.tryForTime (/dev/shm/workspace/parallel/11/kibana/test/common/services/retry/retry.ts:34:14)
[00:04:59]                 │     at CommonPage.navigateToApp (/dev/shm/workspace/parallel/11/kibana/test/functional/page_objects/common_page.ts:237:7)
[00:04:59]                 │     at VisualizePage.navigateToNewAggBasedVisualization (/dev/shm/workspace/parallel/11/kibana/test/functional/page_objects/visualize_page.ts:125:7)
[00:04:59]                 │     at Context.<anonymous> (/dev/shm/workspace/parallel/11/kibana/test/functional/apps/visualize/_inspector.ts:30:7)
[00:04:59]                 │     at Object.apply (/dev/shm/workspace/parallel/11/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:04:59]                 │   Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:59]                 │   Wait timed out after 60132ms
[00:04:59]                 │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:59]                 │       at runMicrotasks (<anonymous>)
[00:04:59]                 │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:59]                 │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:04:59]                 │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:04:59]                 │       at Retry.try (test/common/services/retry/retry.ts:43:14)
[00:04:59]                 │       at /dev/shm/workspace/parallel/11/kibana/test/functional/page_objects/common_page.ts:238:23
[00:04:59]                 │       at runAttempt (test/common/services/retry/retry_for_success.ts:38:15)
[00:04:59]                 │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:77:21)
[00:04:59]                 │       at Retry.tryForTime (test/common/services/retry/retry.ts:34:14)
[00:04:59]                 │       at CommonPage.navigateToApp (test/functional/page_objects/common_page.ts:237:7)
[00:04:59]                 │       at VisualizePage.navigateToNewAggBasedVisualization (test/functional/page_objects/visualize_page.ts:125:7)
[00:04:59]                 │       at Context.<anonymous> (test/functional/apps/visualize/_inspector.ts:30:7)
[00:04:59]                 │       at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:04:59]                 │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:04:59]                 │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:04:59]                 │       at Retry.tryForTime (test/common/services/retry/retry.ts:34:14)
[00:04:59]                 │       at CommonPage.navigateToApp (test/functional/page_objects/common_page.ts:237:7)
[00:04:59]                 │       at VisualizePage.navigateToNewAggBasedVisualization (test/functional/page_objects/visualize_page.ts:125:7)
[00:04:59]                 │       at Context.<anonymous> (test/functional/apps/visualize/_inspector.ts:30:7)
[00:04:59]                 │       at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:04:59]                 │ 
[00:04:59]                 │ 

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 60132ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
    at Retry.try (test/common/services/retry/retry.ts:43:14)
    at /dev/shm/workspace/parallel/11/kibana/test/functional/page_objects/common_page.ts:238:23
    at runAttempt (test/common/services/retry/retry_for_success.ts:38:15)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:77:21)
    at Retry.tryForTime (test/common/services/retry/retry.ts:34:14)
    at CommonPage.navigateToApp (test/functional/page_objects/common_page.ts:237:7)
    at VisualizePage.navigateToNewAggBasedVisualization (test/functional/page_objects/visualize_page.ts:125:7)
    at Context.<anonymous> (test/functional/apps/visualize/_inspector.ts:30:7)
    at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
    at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
    at Retry.tryForTime (test/common/services/retry/retry.ts:34:14)
    at CommonPage.navigateToApp (test/functional/page_objects/common_page.ts:237:7)
    at VisualizePage.navigateToNewAggBasedVisualization (test/functional/page_objects/visualize_page.ts:125:7)
    at Context.<anonymous> (test/functional/apps/visualize/_inspector.ts:30:7)
    at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
expressions 200.6KB 200.7KB +129.0B

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

@flash1293 flash1293 merged commit a8dce50 into elastic:7.x Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants