Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch POST response is not sent if disk is full #1546

Open
lorjala opened this issue Feb 16, 2022 · 0 comments
Open

Launch POST response is not sent if disk is full #1546

lorjala opened this issue Feb 16, 2022 · 0 comments

Comments

@lorjala
Copy link

lorjala commented Feb 16, 2022

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:

  1. Start the service.
  2. Fill the disk to full.
  3. 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}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant