Skip to content

[7.x] fix config validation (#96502)#96704

Merged
pgayvallet merged 2 commits intoelastic:7.xfrom
pgayvallet:backport/7.x/pr-96502
Apr 9, 2021
Merged

[7.x] fix config validation (#96502)#96704
pgayvallet merged 2 commits intoelastic:7.xfrom
pgayvallet:backport/7.x/pr-96502

Conversation

@pgayvallet
Copy link
Contributor

Backports the following commits to 7.x:

@pgayvallet pgayvallet added the backport This PR is a backport of another PR label Apr 9, 2021
@pgayvallet pgayvallet enabled auto-merge (squash) April 9, 2021 16:30
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/discover/_huge_fields·ts.discover app test large number of fields in sidebar "before all" hook for "test_huge data should have expected number of fields"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:08:27]         └-: discover app
[00:08:27]           └-> "before all" hook in "discover app"
[00:08:27]           └-> "before all" hook in "discover app"
[00:26:40]           └-: test large number of fields in sidebar
[00:26:40]             └-> "before all" hook for "test_huge data should have expected number of fields"
[00:26:40]             └-> "before all" hook for "test_huge data should have expected number of fields"
[00:26:40]               │ info [large_fields] Loading "mappings.json"
[00:26:40]               │ info [large_fields] Loading "data.json.gz"
[00:26:40]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1617997730933374834] [testhuge] creating index, cause [api], templates [], shards [5]/[1]
[00:26:40]               │ info [large_fields] Created index "testhuge"
[00:26:40]               │ debg [large_fields] "testhuge" settings {"index":{"mapping":{"total_fields":{"limit":"50000"}},"number_of_replicas":"1","number_of_shards":"5"}}
[00:26:41]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1617997730933374834] [testhuge/k-r26JWwRLWMt620ijrBUA] update_mapping [_doc]
[00:26:41]               │ info [o.e.i.b.HierarchyCircuitBreakerService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1617997730933374834] attempting to trigger G1GC due to high heap usage [1038991264]
[00:26:41]               │ info [o.e.i.b.HierarchyCircuitBreakerService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1617997730933374834] GC did not bring memory usage down, before [1038991264], after [1055768480], allocations [5], duration [9]
[00:26:41]               │ info [large_fields] Indexed 1 docs into "testhuge"
[00:26:41]               │ info Taking screenshot "/dev/shm/workspace/parallel/21/kibana/test/functional/screenshots/failure/discover app test large number of fields in sidebar _before all_ hook for _test_huge data should have expected number of fields_.png"
[00:26:42]               │ info Current URL is: http://localhost:61211/app/discover#/view/cd43f5c2-h761-13f6-9486-733b1ac9221a?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272021-01-20T00:00:00.000Z%27,to:%272021-01-25T00:00:00.000Z%27))&_a=(columns:!(),filters:!(),index:test-index-unmapped-fields,interval:auto,query:(language:lucene,query:(query_string:(analyze_wildcard:!t,query:%27*%27))),sort:!(!(timestamp,desc)))
[00:26:42]               │ info Saving page source to: /dev/shm/workspace/parallel/21/kibana/test/functional/failure_debug/html/discover app test large number of fields in sidebar _before all_ hook for _test_huge data should have expected number of fields_.html
[00:26:42]               └- ✖ fail: discover app test large number of fields in sidebar "before all" hook for "test_huge data should have expected number of fields"
[00:26:42]               │      ResponseError: circuit_breaking_exception
[00:26:42]               │       at onBody (node_modules/@elastic/elasticsearch/lib/Transport.js:337:23)
[00:26:42]               │       at IncomingMessage.onEnd (node_modules/@elastic/elasticsearch/lib/Transport.js:264:11)
[00:26:42]               │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:26:42]               │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:26:42]               │ 
[00:26:42]               │ 

Stack Trace

ResponseError: circuit_breaking_exception
    at onBody (node_modules/@elastic/elasticsearch/lib/Transport.js:337:23)
    at IncomingMessage.onEnd (node_modules/@elastic/elasticsearch/lib/Transport.js:264:11)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  meta: {
    body: { error: [Object], status: 429 },
    statusCode: 429,
    headers: {
      'content-type': 'application/json; charset=UTF-8',
      'content-length': '911'
    },
    meta: {
      context: null,
      request: [Object],
      name: 'elasticsearch-js',
      connection: [Object],
      attempts: 0,
      aborted: false
    }
  }
}

Metrics [docs]

✅ unchanged

History

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

@pgayvallet pgayvallet merged commit b6c43fa into elastic:7.x Apr 9, 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