Skip to content

[7.9] [Ingest Manager] Revert fleet config concurrency rollout to rate limit (#73940)#73984

Merged
nchaulet merged 1 commit intoelastic:7.9from
nchaulet:backport/7.9/pr-73940
Aug 1, 2020
Merged

[7.9] [Ingest Manager] Revert fleet config concurrency rollout to rate limit (#73940)#73984
nchaulet merged 1 commit intoelastic:7.9from
nchaulet:backport/7.9/pr-73940

Conversation

@nchaulet
Copy link
Copy Markdown
Member

Backports the following commits to 7.9:

@nchaulet nchaulet added the backport This PR is a backport of another PR label Jul 31, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Firefox UI Functional Tests.test/functional/apps/visualize/input_control_vis/chained_controls·js.visualize app input controls chained controls "before all" hook for "should disable child control when parent control is not set"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:13:06]         └-: visualize app
[00:13:06]           └-> "before all" hook
[00:13:06]           └-> "before all" hook
[00:13:06]             │ debg Starting visualize before method
[00:13:06]             │ info [logstash_functional] Loading "mappings.json"
[00:13:06]             │ info [logstash_functional] Loading "data.json.gz"
[00:13:06]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:13:06]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:13:06]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:13:06]             │ 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:13:06]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:13:06]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:13:06]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:13:06]             │ 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:13:06]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:13:06]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:13:06]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:13:06]             │ 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:13:16]             │ info progress: 11739
[00:13:18]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:13:18]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:13:18]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:13:18]             │ info [long_window_logstash] Loading "mappings.json"
[00:13:18]             │ info [long_window_logstash] Loading "data.json.gz"
[00:13:18]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:13:18]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[long-window-logstash-0][0]]]).
[00:13:18]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:13:18]             │ 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:13:28]             │ info progress: 11739
[00:13:30]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:13:30]             │ info [visualize] Loading "mappings.json"
[00:13:30]             │ info [visualize] Loading "data.json"
[00:13:30]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [.kibana_1/9mDMpu1lRbCQHbJ9RAetNQ] deleting index
[00:13:30]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [.kibana_2/by6M8Mr1S9mcu-japcHclA] deleting index
[00:13:30]             │ info [visualize] Deleted existing index [".kibana_2",".kibana_1"]
[00:13:30]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:13:30]             │ info [visualize] Created index ".kibana"
[00:13:30]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:13:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [.kibana/XlLIKBD3QIy-jp2QGolMHQ] update_mapping [_doc]
[00:13:30]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:13:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [.kibana/XlLIKBD3QIy-jp2QGolMHQ] update_mapping [_doc]
[00:13:31]             │ debg Migrating saved objects
[00:13:31]             │ proc [kibana]   log   [18:37:18.368] [info][savedobjects-service] Creating index .kibana_2.
[00:13:31]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:13:31]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] updating number_of_replicas to [0] for indices [.kibana_2]
[00:13:31]             │ proc [kibana]   log   [18:37:18.419] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:13:31]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:13:31]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] updating number_of_replicas to [0] for indices [.kibana_1]
[00:13:31]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] 9936 finished with response BulkByScrollResponse[took=31.4ms,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:13:31]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [.kibana/XlLIKBD3QIy-jp2QGolMHQ] deleting index
[00:13:31]             │ proc [kibana]   log   [18:37:18.755] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:13:31]             │ proc [kibana]   log   [18:37:18.768] [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:13:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [.kibana_2/f6bYiztySiOwrqhJHtGXMw] update_mapping [_doc]
[00:13:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [.kibana_2/f6bYiztySiOwrqhJHtGXMw] update_mapping [_doc]
[00:13:31]             │ proc [kibana]   log   [18:37:18.860] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:13:31]             │ proc [kibana]   log   [18:37:18.907] [info][savedobjects-service] Finished in 541ms.
[00:13:31]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:13:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596218793484599919] [.kibana_2/f6bYiztySiOwrqhJHtGXMw] update_mapping [_doc]
[00:13:33]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:13:34]           └-: 
[00:13:34]             └-> "before all" hook
[00:13:34]             └-: input controls
[00:13:34]               └-> "before all" hook
[00:13:34]               └-: chained controls
[00:13:34]                 └-> "before all" hook
[00:13:34]                 └-> "before all" hook
[00:13:34]                   │ debg navigating to visualize url: http://localhost:6111/app/visualize#/
[00:13:34]                   │ debg navigate to: http://localhost:6111/app/visualize#/
[00:13:34]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:34]                   │ debg ... sleep(700) start
[00:13:35]                   │ debg ... sleep(700) end
[00:13:35]                   │ debg returned from get, calling refresh
[00:13:36]                   │ debg browser[info] "INFO: 2020-07-31T18:37:23Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:13:36]                   │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:13:36]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:36]                   │ debg currentUrl = http://localhost:6111/app/visualize#/
[00:13:36]                   │          appUrl = http://localhost:6111/app/visualize#/
[00:13:36]                   │ debg TestSubjects.find(kibanaChrome)
[00:13:36]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:38]                   │ debg browser[info] "INFO: 2020-07-31T18:37:26Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:13:39]                   │ debg ... sleep(501) start
[00:13:40]                   │ debg ... sleep(501) end
[00:13:40]                   │ debg in navigateTo url = http://localhost:6111/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:40]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:13:40]                   │ debg ... sleep(501) start
[00:13:41]                   │ debg ... sleep(501) end
[00:13:41]                   │ debg in navigateTo url = http://localhost:6111/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:41]                   │ debg TestSubjects.exists(statusPageContainer)
[00:13:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:43]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:44]                   │ debg TestSubjects.click(visListingTitleLink-chained-input-control)
[00:13:44]                   │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-chained-input-control"]') with timeout=20000
[00:13:44]                   │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-chained-input-control"]') with timeout=20000
[00:13:44]                   │ debg isGlobalLoadingIndicatorVisible
[00:13:44]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:44]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:44]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:45]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:45]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:45]                   │ debg browser[log] "Detected an unhandled Promise rejection.\nTypeError: this.uiSettings is undefined"
[00:13:46]                   │ debg TestSubjects.find(addFilter)
[00:13:46]                   │ debg Find.findByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:13:56]                   │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="addFilter"])
[00:13:56]                   │      Wait timed out after 10010ms
[00:13:56]                   │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/visualize app  input controls chained controls _before all_ hook.png"
[00:13:56]                   │ info Current URL is: http://localhost:6111/app/visualize#/edit/68305470-87bc-11e9-a991-3b492a7c3e09?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(filters:!(),linked:!f,query:(language:kuery,query:%27%27),uiState:(),vis:(aggs:!(),params:(controls:!((fieldName:geo.src,id:%271559757816862%27,indexPattern:%27logstash-*%27,label:%27%27,options:(dynamicOptions:!t,multiselect:!t,order:desc,size:5,type:terms),parent:%27%27,type:list),(fieldName:clientip,id:%271559757836347%27,indexPattern:%27logstash-*%27,label:%27%27,options:(dynamicOptions:!t,multiselect:!t,order:desc,size:5,type:terms),parent:%271559757816862%27,type:list)),pinFilters:!f,updateFiltersOnChange:!f,useTimeFilter:!f),title:%27chained%20input%20control%27,type:input_control_vis))
[00:13:56]                   │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/visualize app  input controls chained controls _before all_ hook.html
[00:13:56]                   └- ✖ fail: visualize app  input controls chained controls "before all" hook for "should disable child control when parent control is not set"
[00:13:56]                   │      Error: retry.tryForTime timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="addFilter"])
[00:13:56]                   │ Wait timed out after 10010ms
[00:13:56]                   │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:13:56]                   │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:13:56]                   │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:13:56]                   │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:13:56]                   │ 
[00:13:56]                   │ 

Stack Trace

Error: retry.tryForTime timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="addFilter"])
Wait timed out after 10010ms
    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)

Build metrics

✅ unchanged

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

@nchaulet nchaulet merged commit 1d93f1d into elastic:7.9 Aug 1, 2020
@nchaulet nchaulet deleted the backport/7.9/pr-73940 branch August 1, 2020 01:54
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