New issue
Advanced search Search tips

Issue 673926 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

chromite virtualenv wrapper infinite loop

Project Member Reported by ayatane@chromium.org, Dec 13 2016

Issue description

Cc: akes...@chromium.org ayatane@chromium.org davidri...@chromium.org
 Issue 673960  has been merged into this issue.
Project Member

Comment 2 by bugdroid1@chromium.org, Dec 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/chromite/+/9f03f5b7711bf6624e1febbd7bf84bbc46481d85

commit 9f03f5b7711bf6624e1febbd7bf84bbc46481d85
Author: Allen Li <ayatane@chromium.org>
Date: Tue Dec 13 23:23:52 2016

Fix virtualenv environment detection

There seems to be some combination of factors that cause the string
matching of the VIRTUAL_ENV envvar to fail on trybots/pre-cq.  Given
that, I think its generally a bad idea to do path comparisons against
the virtualenv environment and reverting back to a dumber, but more
robust implementation of the virtualenv check using a magic variable.

BUG= chromium:673926 
TEST=Run bin/venv_check and unit tests

Change-Id: Ifaafafc0abf5b079585a168f5d6a4b731c1a2d2e
Reviewed-on: https://chromium-review.googlesource.com/419722
Commit-Ready: David Riley <davidriley@chromium.org>
Tested-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>

[modify] https://crrev.com/9f03f5b7711bf6624e1febbd7bf84bbc46481d85/scripts/virtualenv_wrapper.py
[modify] https://crrev.com/9f03f5b7711bf6624e1febbd7bf84bbc46481d85/scripts/virtualenv_wrapper_unittest.py

Status: Fixed (was: Untriaged)

Sign in to add a comment