service-api
service-api copied to clipboard
Launch POST response is not sent if disk is full
When the disk is full but the service is responsive, service-api fails to process a launch POST request and send a response to the client application.
The function should timeout or fail and then send a response even if it cannot process the request so the client won't wait indefinitely. This mostly affects smaller-scale or development deployments without proper disk management.
Steps to reproduce:
- Start the service.
- Fill the disk to full.
- Send
/api/v2/<project>/launch
POST request.
Log:
2022-02-16 10:31:05.649 DEBUG 1 --- [io-8585-exec-84] c.e.t.r.w.c.LaunchAsyncController : startLaunch (1046621) - Request
POST /v2/<project>/launch
host: -
user-agent: python-requests/2.26.0
-- Body --
{"startTime":1645007465579,"name":"test","attributes":[{"key":"machine","value":"x86_64","system":true},{"key":"cpu","value":"i386","system":true},{"key":"agent","value":"pytest-reportportal-5.0.11","system":true},{"key":"os","value":"Darwin","system":true}],"mode":"DEFAULT","rerun":false}