grpc: Test failures possibly due to use of legacy TLS with PyPI
Two recent test executions (1, 2) failed and the message “Brownout of Legacy TLS” appeared several times in their logs. This is somewhat expected, especially if our tests ran in the first ten minutes of an hour.
I suspect we need to upgrade… something, but I’m not yet sure what. Something in the continuous integration infrastructure? pip
?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 22 (22 by maintainers)
Commits related to this issue
- Force-link Brew installed Python over system installed Workaround for issue #14815. Kokoro macOS workers have two sets of Python versions: one installed by Brew and the other pre-installed by the sys... — committed to matt-kwong/grpc by matt-kwong 6 years ago
- Unpin pip version installed in build_python.sh Fix for issue #14815. Pinning to 9.0.3 doesn't work because pip fails to recognize that as a valid version. Newer versions of pip have a fallback on mac... — committed to matt-kwong/grpc by matt-kwong 6 years ago
- Unpin pip version installed in build_python.sh Fix for issue #14815. Pinning to 9.0.3 doesn't work because pip fails to recognize that as a valid version. Newer versions of pip have a fallback on mac... — committed to grpc/grpc by matt-kwong 6 years ago
- Unpin pip version installed in build_python.sh Fix for issue #14815. Pinning to 9.0.3 doesn't work because pip fails to recognize that as a valid version. Newer versions of pip have a fallback on mac... — committed to matt-kwong/grpc by matt-kwong 6 years ago
Reopening because seeing
which is the same issue but failing one step earlier.
Okay, pinning to 9.0.2 works, but not 9.0.3 (I’m guessing this is a pip issue). It’s fine though because the fix we need is in 9.0.2. I’ll merge the PR that unpins and open another PR to pin to 9.0.2; I want to get the release blocker in sooner rather than later.
@matt-kwong: dependency-pinning is a practice I brought with me from my previous project after too many experiences seeing my own build break because someone elsewhere on the Internet did something bad. With pinning the decision to break my build remains with someone elsewhere on the Internet, but the timing of breaking my build falls to me and my decision to move my pin, so it’s not a perfect system but it is an improvement. 😃
I might have a fix. I tried upgrading pip in our macOS setup script, but that originally didn’t work. I didn’t realize in
build_python.sh
that pip was being downgraded to 9.0.1 after I upgraded pip. I’m going to test changing that pin to 9.0.3 and see if that fixes the issue.