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

Telemetry schema test #71075

Closed
wants to merge 22 commits into from
Closed

Telemetry schema test #71075

wants to merge 22 commits into from

Conversation

skh
Copy link
Contributor

@skh skh commented Jul 8, 2020

Summary

DO NOT MERGE

DRAFT ONLY

This is #69294 with #70988 merged into it, in order to test #70988 .

@skh skh force-pushed the telemetry-schema-test branch from f6a58dd to c3f633a Compare July 8, 2020 12:03
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Firefox UI Functional Tests.test/functional/apps/visualize/_tsvb_chart·ts.visualize app visual builder "before each" hook for "should be able to switch between index patterns"

Link to Jenkins

Standard Out

[00:00:00]       │
[00:12:33]         └-: visualize app
[00:12:33]           └-> "before all" hook
[00:12:33]           └-> "before all" hook
[00:12:33]             │ debg Starting visualize before method
[00:12:33]             │ info [logstash_functional] Loading "mappings.json"
[00:12:33]             │ info [logstash_functional] Loading "data.json.gz"
[00:12:33]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:12:33]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] 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:12:33]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:12:33]             │ 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:12:33]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:12:33]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] 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:12:33]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:12:33]             │ 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:12:33]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:12:33]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] 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:12:33]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:12:33]             │ 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:12:43]             │ info progress: 13244
[00:12:43]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:12:43]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:12:43]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:12:44]             │ info [long_window_logstash] Loading "mappings.json"
[00:12:44]             │ info [long_window_logstash] Loading "data.json.gz"
[00:12:44]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:12:44]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[long-window-logstash-0][0]]])." previous.health="YELLOW" reason="shards started [[long-window-logstash-0][0]]"
[00:12:44]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:12:44]             │ 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:12:54]             │ info progress: 12041
[00:12:56]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:12:56]             │ info [visualize] Loading "mappings.json"
[00:12:56]             │ info [visualize] Loading "data.json"
[00:12:56]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [.kibana_1/kmb3JpW2SeOllXPIPrnqEA] deleting index
[00:12:56]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [.kibana_2/BKFh68AxR4CIEG2zWrFdBw] deleting index
[00:12:56]             │ info [visualize] Deleted existing index [".kibana_2",".kibana_1"]
[00:12:56]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:12:56]             │ info [visualize] Created index ".kibana"
[00:12:56]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:12:56]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [.kibana/ImIQz0zOQZGeP1mAn8wQIA] update_mapping [_doc]
[00:12:56]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:12:56]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [.kibana/ImIQz0zOQZGeP1mAn8wQIA] update_mapping [_doc]
[00:12:56]             │ debg Migrating saved objects
[00:12:56]             │ proc [kibana]   log   [12:38:58.190] [info][savedobjects-service] Creating index .kibana_2.
[00:12:56]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:12:56]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] updating number_of_replicas to [0] for indices [.kibana_2]
[00:12:56]             │ proc [kibana]   log   [12:38:58.254] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:12:56]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:12:56]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] updating number_of_replicas to [0] for indices [.kibana_1]
[00:12:57]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] 9013 finished with response BulkByScrollResponse[took=47.3ms,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:12:57]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [.kibana/ImIQz0zOQZGeP1mAn8wQIA] deleting index
[00:12:57]             │ proc [kibana]   log   [12:38:58.604] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:12:57]             │ proc [kibana]   log   [12:38:58.614] [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:12:57]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [.kibana_2/ZZIQEBy8Q3SCmU3GMuEhVQ] update_mapping [_doc]
[00:12:57]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [.kibana_2/ZZIQEBy8Q3SCmU3GMuEhVQ] update_mapping [_doc]
[00:12:57]             │ proc [kibana]   log   [12:38:58.703] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:12:57]             │ proc [kibana]   log   [12:38:58.758] [info][savedobjects-service] Finished in 570ms.
[00:12:57]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:12:57]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1594209860420444908] [.kibana_2/ZZIQEBy8Q3SCmU3GMuEhVQ] update_mapping [_doc]
[00:12:58]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:13:28]           └-: 
[00:13:28]             └-> "before all" hook
[00:13:28]             └-: visual builder
[00:13:28]               └-> "before all" hook

Stack Trace

Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
Wait timed out after 10009ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    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 onFailure (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)

Build metrics

✅ unchanged

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

@skh skh closed this Jul 9, 2020
@skh skh deleted the telemetry-schema-test branch July 9, 2020 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants