Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] removing references to visTypes uiExports (#58337) #59061

Merged
merged 1 commit into from
Mar 2, 2020

Conversation

ppisljar
Copy link
Member

@ppisljar ppisljar commented Mar 2, 2020

Backports the following commits to 7.x:

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/timelion/_expression_typeahead·js.timelion app expression typeahead "before all" hook

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:03:13]         └-: timelion app
[00:03:13]           └-> "before all" hook
[00:03:13]           └-> "before all" hook
[00:03:13]             │ debg Starting timelion before method
[00:03:13]             │ info [logstash_functional] Loading "mappings.json"
[00:03:13]             │ info [logstash_functional] Loading "data.json.gz"
[00:03:13]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:03:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:03:13]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:03:13]             │ 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:03:13]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:03:13]             │ debg TestSubjects.exists(filter filter-disabled filter-key-geo.src filter-value-IN)
[00:03:13]             │ debg Find.existsByCssSelector('[data-test-subj="filter filter-disabled filter-key-geo.src filter-value-IN"]') with timeout=2500
[00:03:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:03:13]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:03:13]             │ 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:03:13]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:03:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:03:13]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:03:13]             │ 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:03:15]             │ debg --- retry.try failed again with the same message...
[00:03:16]             │ debg TestSubjects.exists(filter filter-disabled filter-key-geo.src filter-value-IN)
[00:03:16]             │ debg Find.existsByCssSelector('[data-test-subj="filter filter-disabled filter-key-geo.src filter-value-IN"]') with timeout=2500
[00:03:18]             │ debg --- retry.try failed again with the same message...
[00:03:19]             │ debg TestSubjects.exists(filter filter-disabled filter-key-geo.src filter-value-IN)
[00:03:19]             │ debg Find.existsByCssSelector('[data-test-subj="filter filter-disabled filter-key-geo.src filter-value-IN"]') with timeout=2500
[00:03:22]             │ debg --- retry.try failed again with the same message...
[00:03:22]             │ debg TestSubjects.exists(filter filter-disabled filter-key-geo.src filter-value-IN)
[00:03:22]             │ debg Find.existsByCssSelector('[data-test-subj="filter filter-disabled filter-key-geo.src filter-value-IN"]') with timeout=2500
[00:03:23]             │ info progress: 9331
[00:03:25]             │ debg --- retry.try failed again with the same message...
[00:03:25]             │ debg TestSubjects.exists(filter filter-disabled filter-key-geo.src filter-value-IN)
[00:03:25]             │ debg Find.existsByCssSelector('[data-test-subj="filter filter-disabled filter-key-geo.src filter-value-IN"]') with timeout=2500
[00:03:27]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:03:27]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:03:27]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:03:27]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:03:28]             │ debg --- retry.try failed again with the same message...
[00:03:28]           └-: expression typeahead
[00:03:28]             └-> "before all" hook
[00:03:28]             └-> "before all" hook
[00:03:28]               │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:03:28]               │ debg TestSubjects.exists(filter filter-disabled filter-key-geo.src filter-value-IN)
[00:03:28]               │ debg Find.existsByCssSelector('[data-test-subj="filter filter-disabled filter-key-geo.src filter-value-IN"]') with timeout=2500
[00:03:29]               │ debg load kibana index
[00:03:29]               │ info [timelion] Loading "mappings.json"
[00:03:29]               │ info [timelion] Loading "data.json.gz"
[00:03:29]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] [.kibana_3/4JMlbCOaQhqc2lFaQuSWVQ] deleting index
[00:03:29]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] [.kibana_2/zGebiikZS46WD0E2e7CH0g] deleting index
[00:03:29]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] [.kibana_1/n5ekW3NpROe1AtHWWCwthA] deleting index
[00:03:29]               │ info [timelion] Deleted existing index [".kibana_2",".kibana_1",".kibana_3"]
[00:03:29]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:03:29]               │ info [timelion] Created index ".kibana"
[00:03:29]               │ debg [timelion] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:03:29]               │ info [timelion] Indexed 1 docs into ".kibana"
[00:03:29]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] [.kibana/CUvaMa_sQ2Kok1F8G6OCJQ] update_mapping [_doc]
[00:03:29]               │ debg Migrating saved objects
[00:03:29]               │ proc [kibana]   log   [17:27:28.955] [info][savedobjects-service] Creating index .kibana_2.
[00:03:29]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:03:29]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:29]               │ proc [kibana]   log   [17:27:29.041] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:03:29]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:03:29]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] updating number_of_replicas to [0] for indices [.kibana_1]
[00:03:29]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] 2608 finished with response BulkByScrollResponse[took=35.4ms,timed_out=false,sliceId=null,updated=0,created=1,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:03:30]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] [.kibana/CUvaMa_sQ2Kok1F8G6OCJQ] deleting index
[00:03:30]               │ proc [kibana]   log   [17:27:29.418] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:03:30]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] [.kibana_2/vdreka1iR_mi_CT9CdY5Tw] update_mapping [_doc]
[00:03:30]               │ proc [kibana]   log   [17:27:29.476] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:03:30]               │ proc [kibana]   log   [17:27:29.526] [info][savedobjects-service] Finished in 573ms.
[00:03:30]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:03:30]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1583168612230121161] [.kibana_2/vdreka1iR_mi_CT9CdY5Tw] update_mapping [_doc]
[00:03:31]               │ debg --- retry.try failed again with the same message...
[00:03:31]               │ debg TestSubjects.exists(filter filter-disabled filter-key-geo.src filter-value-IN)
[00:03:31]               │ debg Find.existsByCssSelector('[data-test-subj="filter filter-disabled filter-key-geo.src filter-value-IN"]') with timeout=2500
[00:03:31]               │ debg navigating to timelion url: http://localhost:6111/app/timelion
[00:03:31]               │ debg Navigate to: http://localhost:6111/app/timelion
[00:03:34]               │ debg ... sleep(700) start
[00:03:34]               │ debg browser[INFO] http://localhost:6111/app/timelion?_t=1583170051061 350 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:34]               │
[00:03:34]               │ debg browser[INFO] http://localhost:6111/bundles/app/timelion/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:34]               │ debg --- retry.try failed again with the same message...
[00:03:34]               └- ✖ fail: "timelion app expression typeahead "before all" hook"
[00:03:34]               │

Stack Trace

{ DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    at emitDeprecationWarning (internal/process/promises.js:111:13)
    at emitWarning (internal/process/promises.js:104:3)
    at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
    at process._tickCallback (internal/process/next_tick.js:69:34) name: 'DeprecationWarning', code: 'DEP0018', uncaught: true }

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

@ppisljar ppisljar merged commit 65fb3a8 into elastic:7.x Mar 2, 2020
@ppisljar ppisljar deleted the backport/7.x/pr-58337 branch March 2, 2020 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants