-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
New Docker client returning timeout on EXEC #3999
Comments
Note: I see that you closed the other issues, but the builds are still failing. |
@SylvainCorlay yes, they are, the problem isn't solved yet, the team is working on it :) |
gotcha, thanks! |
I'm not sure why this is happening now. We did a deploy with a newer version of I'm buiding There is nothing new related to timeout and the only thing that I've found is the timeout for the API calls in the constructor for the APIClient (http://docker-py.readthedocs.io/en/stable/api.html?highlight=APIClient#docker.api.client.APIClient). Although, we are not setting it and the default is 60 seconds. So, if it's considered to the I'm still a little confused. Will keep researching. Also, I was able to run an Also, the timeout is from |
We noticed that this problem is not present on Besides, I noticed that most/all of the errors reported in Sentry are only for projects that uses |
There is another Sentry logs with project that fails at |
Problem seems to be fixed now for me, thanks! see https://readthedocs.org/projects/easybuild/builds/7094389/ |
cc @gouarin |
It also works for me now. Thanks ! |
Thanks for your feedback. I downgraded docker python package to So, at the moment, we are going to be blocked on |
A new docker version was released today: https://github.com/docker/docker-py/releases/tag/3.3.0 It says it fixes an issue with the timeout for |
@stsewd we don't know yet. That PR wasn't deployed yet. |
Just deployed and the issue is still present in 3.3.0 :( I downgraded it to 3.1.3 again. |
Not too much we can do here for now. Unassigning this. We will need to try in production with a newer version in the future :/ |
The Docker SDK for Python package has recently been up-versioned from 2.4.2 to 3.3.0 to take advantage of the new API with more reliable exit_code. However, the new Docker client can return a random timeout on exec which appears to be a known issue: readthedocs/readthedocs.org#3999 This change entails specifying a timeout value when obtaining a Docker client. Tests conducted: - verify successful images download - verify successful application install Change-Id: I1676ee835303ab507af187bcce1e1c9be483900f Story: 2003908 Task: 28013 Signed-off-by: Tee Ngo <[email protected]>
docker 3.7.0 is released, we could upgrade our version and test the new one manually on one of the builder first before merging and deploying. |
I just manually upgraded I think we can test this for some days more and then upgrade our requirements file to make this change in all of our builders. |
https://sentry.io/read-the-docs/readthedocs-org/issues/533022676/
The text was updated successfully, but these errors were encountered: