Skip to content

[7.13] Forbid setting the Location and Refresh custom response headers (#98129)#98204

Merged
kibanamachine merged 1 commit intoelastic:7.13from
kibanamachine:backport/7.13/pr-98129
Apr 23, 2021
Merged

[7.13] Forbid setting the Location and Refresh custom response headers (#98129)#98204
kibanamachine merged 1 commit intoelastic:7.13from
kibanamachine:backport/7.13/pr-98129

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.13:

@kibanamachine
Copy link
Copy Markdown
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack API Integration Tests.x-pack/test/api_integration/apis/searchprofiler/searchprofiler·ts.apis Search Profiler Profile should return profile results for a valid index

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook in "apis"
[00:18:34]           └-: Search Profiler
[00:18:34]             └-> "before all" hook in "Search Profiler"
[00:18:34]             └-: Profile
[00:18:34]               └-> "before all" hook for "should return profile results for a valid index"
[00:18:34]               └-> should return profile results for a valid index
[00:18:34]                 └-> "before each" hook: global before each for "should return profile results for a valid index"
[00:18:43]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1619204671905594298] [.kibana_7.13.0_001/1ycJ56haQGySFxENiYOv4A] update_mapping [_doc]
[00:18:53]                 └- ✖ fail: apis Search Profiler Profile should return profile results for a valid index
[00:18:53]                 │       Error: Maximumresponse size reached
[00:18:53]                 │       at Stream.<anonymous> (/dev/shm/workspace/parallel/4/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:875:23)
[00:18:53]                 │       at Unzip.<anonymous> (/dev/shm/workspace/parallel/4/kibana/node_modules/supertest/node_modules/superagent/lib/node/unzip.js:48:30)
[00:18:53]                 │       at addChunk (internal/streams/readable.js:309:12)
[00:18:53]                 │       at readableAddChunk (internal/streams/readable.js:284:9)
[00:18:53]                 │       at Unzip.Readable.push (internal/streams/readable.js:223:10)
[00:18:53]                 │       at Unzip.Transform.push (internal/streams/transform.js:166:32)
[00:18:53]                 │       at Zlib.processCallback (zlib.js:539:10)
[00:18:53]                 │ 
[00:18:53]                 │ 

Stack Trace

Error: Maximum response size reached
    at Stream.<anonymous> (/dev/shm/workspace/parallel/4/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:875:23)
    at Unzip.<anonymous> (/dev/shm/workspace/parallel/4/kibana/node_modules/supertest/node_modules/superagent/lib/node/unzip.js:48:30)
    at addChunk (internal/streams/readable.js:309:12)
    at readableAddChunk (internal/streams/readable.js:284:9)
    at Unzip.Readable.push (internal/streams/readable.js:223:10)
    at Unzip.Transform.push (internal/streams/transform.js:166:32)
    at Zlib.processCallback (zlib.js:539:10) {
  code: 'ETOOLARGE',
  response: undefined
}

Metrics [docs]

✅ unchanged

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

cc @legrego

@kibanamachine kibanamachine merged commit ff5fceb into elastic:7.13 Apr 23, 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