Skip to content

Fix grpc distribtests - broken virtualenv install#26154

Merged
drfloob merged 1 commit intogrpc:masterfrom
drfloob:fix-grpc_distribtests-broken-venv
May 4, 2021
Merged

Fix grpc distribtests - broken virtualenv install#26154
drfloob merged 1 commit intogrpc:masterfrom
drfloob:fix-grpc_distribtests-broken-venv

Conversation

http://fusion/runanalysis/buildlogs/prod:grpc%2Fcore%2Fmaster%2Flinux%2Fgrpc_distribtests/prod:grpc%2Fcore%2Fmaster%2Flinux%2Fgrpc_distribtests/KOKORO/7d11a8e5-6930-4f30-9977-fca90bcb8312/1619778728188/prod:grpc%2Fcore%2Fmaster%2Flinux%2Fgrpc_distribtests%20build%20%2315492/Targets

Note that the command `pip` fails after the upgrade since /usr/bin/pip
is the OS default, and the (incompatible) upgrade is installed to
/usr/local/bin/pip.
@drfloob drfloob added area/test lang/other release notes: no Indicates if PR should not be in release notes labels May 3, 2021
@drfloob drfloob requested a review from jtattermusch May 4, 2021 15:42
@drfloob drfloob marked this pull request as ready for review May 4, 2021 15:43
@drfloob drfloob removed request for apolcyn and nicolasnoble May 4, 2021 15:50
RUN pip install virtualenv
RUN pip install --upgrade pip==19.3.1

RUN /usr/local/bin/pip install virtualenv
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair enough, but this probably deserves a comment (the pip vs /usr/local/bin/pip) part.

Copy link
Copy Markdown
Contributor

@jtattermusch jtattermusch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a comment. Let's make sure a new version of the image is uploaded to dockerhub.

@drfloob
Copy link
Copy Markdown
Member Author

drfloob commented May 4, 2021

Thanks Jan. After uploading the new docker image this morning (before your comment above), the build succeeded. I'll add the explanatory comment to the Dockerfile, push the new image to the repo, and merge this.

@drfloob drfloob merged commit 9b87fb3 into grpc:master May 4, 2021
@jtattermusch
Copy link
Copy Markdown
Contributor

So adding the comment will be in a followup PR?

@drfloob
Copy link
Copy Markdown
Member Author

drfloob commented May 5, 2021

Looks like I forgot to push that commit before I merged. Apologies. #26177

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/test lang/other release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants