-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
Fully Compatible
-
v3.6, v3.4, v3.2
-
TIG 2018-1-15, TIG 2018-1-1, TIG 2017-12-18
-
26
With the changes from 4f0b759, Logkeeper will reject POST requests larger than 32MB. In order to avoid hardcoding this constant in resmoke.py's logkeeper client (e.g. should the value need to be lowered further on the Logkeeper application), the changes from EVG-1365 made it so that rejected POST requests will return a "Request entity too large" HTTP 413 error status with a "max_size_mb" field containing the size limit for POST requests in the error response.
buildscripts/resmokelib/logging/buildlogger.py should be updated so that upon receiving this HTTP error response, it retries the request with the JSON-encoded content split up into "max_size_mb" chunks.