tox py3 virtualenv jobs failing ImportError cannot import name 'ContextManager'

Bug #1865832 reported by Marios Andreou
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Wishlist
Unassigned

Bug Description

Many cases blocking the gate at [1][2][3][4] (and many more) all tox jobs seems affected pep8 py27 py35 lower-constraints with not much of a trace like:

        action: py35, msg: getenv
        cwd: /home/zuul/src/opendev.org/openstack/tripleo-common/.tox
        cmd: /usr/bin/python3 -m virtualenv --no-download --python /usr/bin/python3 py35
        ImportError: cannot import name 'ContextManager'

in each case is it a difference command but failing with the same ImportError... eg cmd: /usr/bin/python3 -m virtualenv --no-download --python /usr/bin/python3 pep8

[1] https://d71803c35054f6f7d0b6-b1d67c9914c74169e0b954ab718a0da5.ssl.cf5.rackcdn.com/704655/1/gate/openstack-tox-pep8/6640440/tox/pep8-0.log
[2] https://2319feb14e831f87c231-4854ed941a7816d1225c43ae9b456d0e.ssl.cf1.rackcdn.com/704655/1/gate/openstack-tox-py27/9136e68/tox/py27-0.log
[3] https://3c89d7bbb96270f0f116-51b18fcc89837fbadd0245724df9c686.ssl.cf5.rackcdn.com/710314/1/gate/tox-py35/5410239/tox/py35-0.log
[4] https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_513/710314/1/gate/openstack-tox-lower-constraints/513c920/tox/lower-constraints-0.log

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

seems like the current workaround is to pin importlib-resources to 1.0.2 https://review.opendev.org/#/c/710851/3/playbooks/base/pre.yaml

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

i think this is fixed with https://review.opendev.org/#/c/710851/3/playbooks/base/pre.yaml don't see it any more in zuul jobs/grafana

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

removing alert

tags: removed: alert
Revision history for this message
wes hayutin (weshayutin) wrote :

Master should move jobs from py35 to py36

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

per comment #6 it looks ok the recheck at https://review.opendev.org/#/c/710314/ was green

wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
Changed in tripleo:
status: Triaged → Invalid
importance: Critical → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.