-
-
Notifications
You must be signed in to change notification settings - Fork 636
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
(possible) bug with retrying tool downloads #17294
Comments
Ah, oops. It looks like the retry was only added to the connection initialization, but not to the actual streaming of the body: pants/src/rust/engine/src/downloads.rs Lines 184 to 190 in f004a8a
I'll take a look at this. |
stuhood
added a commit
to stuhood/pants
that referenced
this issue
Oct 21, 2022
…sbuild#17298) As reported in pantsbuild#17294, if an HTTP stream is interrupted after it has opened, the retry that was added in pantsbuild#16798 won't kick in. This change moves the retry up a level to wrap the entire download attempt, and adds a test of recovering from "post-header" errors. Fixes pantsbuild#17294. [ci skip-build-wheels]
stuhood
added a commit
to stuhood/pants
that referenced
this issue
Oct 21, 2022
…sbuild#17298) As reported in pantsbuild#17294, if an HTTP stream is interrupted after it has opened, the retry that was added in pantsbuild#16798 won't kick in. This change moves the retry up a level to wrap the entire download attempt, and adds a test of recovering from "post-header" errors. Fixes pantsbuild#17294. [ci skip-build-wheels]
stuhood
added a commit
to stuhood/pants
that referenced
this issue
Oct 21, 2022
…sbuild#17298) As reported in pantsbuild#17294, if an HTTP stream is interrupted after it has opened, the retry that was added in pantsbuild#16798 won't kick in. This change moves the retry up a level to wrap the entire download attempt, and adds a test of recovering from "post-header" errors. Fixes pantsbuild#17294. [ci skip-build-wheels]
stuhood
added a commit
to stuhood/pants
that referenced
this issue
Oct 21, 2022
…sbuild#17298) As reported in pantsbuild#17294, if an HTTP stream is interrupted after it has opened, the retry that was added in pantsbuild#16798 won't kick in. This change moves the retry up a level to wrap the entire download attempt, and adds a test of recovering from "post-header" errors. Fixes pantsbuild#17294. [ci skip-build-wheels]
stuhood
added a commit
that referenced
this issue
Oct 21, 2022
…ry-pick of #17298) (#17302) As reported in #17294, if an HTTP stream is interrupted after it has opened, the retry that was added in #16798 won't kick in. This change moves the retry up a level to wrap the entire download attempt, and adds a test of recovering from "post-header" errors. Fixes #17294.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
It appears that certain types of failures (tcp rather than http) when downloading tools will not trigger retries and instead lead to a process crash.
Pants version
2.14.0rc1+gitf06bf22b
OS
linux
Additional info
This appears to be happening in the bootstrap phase and here is the entirety of the log output:
The text was updated successfully, but these errors were encountered: