Comment 8 for bug 1863632

Revision history for this message
Marios Andreou (marios-b) wrote :

so we finally got some breakthrough today on this. Summary:

We had a very old version of virtualenv on that queens node.. so old that the error we were getting (after adding debug) was like that:

stderr': u"/usr/bin/python2: cannot import name suppress; 'virtualenv' is a package and cannot be directly executed

suggesting (per zbr) that 'virtualenv is ancient' there

Final solution is to make sure we have contextlib2 (system not in the virtualenv) and that seems to pull in new enough version of virtualenv without causing additional deps issues. You can trace the things we tried by following the change history and comments of https://review.opendev.org/#/c/708791/

So we need these things:

1 https://review.opendev.org/#/c/708264/ Revert sudo and six workarounds for virtualenv 20.0.1 issues

2 https://review.opendev.org/#/c/708791/ Add explicit contextlib2 0.5<0.6 for queens ancient virtualenv

3 https://review.rdoproject.org/r/#/c/25539/ Add missing repo to quickstart gate job