Python tests (py27, py35) fail due to absence of os-testr

Bug #1755500 reported by Goutham Pacha Ravi
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-manilaclient
Fix Released
Undecided
Unassigned

Bug Description

Sample failure on https://review.openstack.org/#/c/550143/1
Log: http://logs.openstack.org/43/550143/1/check/openstack-tox-py27/8475f49/job-output.txt.gz (File attached with this bug in case it disappears from the log servers)

The problem seems to be with os-testr python package missing within the environment. The executable (ostestr) is therefore not installed. The resolution needs to be to switch to using stestr instead of os-testr.

See mailing list discussion here: http://lists.openstack.org/pipermail/openstack-dev/2017-September/122135.html
Related cinderclient commit: https://github.com/openstack/python-cinderclient/commit/203251d7

2018-03-06 16:18:08.552614 | Running tox: tox -epy27 -vv
2018-03-06 16:18:08.582949 |
2018-03-06 16:18:08.583178 | TASK [tox : Run tox]
2018-03-06 16:18:09.032929 | ubuntu-xenial | removing /home/zuul/src/git.openstack.org/openstack/python-manilaclient/.tox/log
2018-03-06 16:18:09.037081 | ubuntu-xenial | using tox.ini: /home/zuul/src/git.openstack.org/openstack/python-manilaclient/tox.ini
2018-03-06 16:18:09.037257 | ubuntu-xenial | using tox-2.9.1 from /usr/local/lib/python2.7/dist-packages/tox/__init__.pyc
2018-03-06 16:18:09.037323 | ubuntu-xenial | skipping sdist step
2018-03-06 16:18:09.037513 | ubuntu-xenial | py27 start: getenv /home/zuul/src/git.openstack.org/openstack/python-manilaclient/.tox/py27
2018-03-06 16:18:09.065108 | ubuntu-xenial | py27 reusing: /home/zuul/src/git.openstack.org/openstack/python-manilaclient/.tox/py27
2018-03-06 16:18:09.079805 | ubuntu-xenial | py27 finish: getenv after 0.04 seconds
2018-03-06 16:18:09.079887 | ubuntu-xenial | py27 start: finishvenv
2018-03-06 16:18:09.089626 | ubuntu-xenial | py27 finish: finishvenv after 0.01 seconds
2018-03-06 16:18:09.089710 | ubuntu-xenial | py27 start: envreport
2018-03-06 16:18:09.090612 | ubuntu-xenial | setting PATH=/home/zuul/src/git.openstack.org/openstack/python-manilaclient/.tox/py27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
2018-03-06 16:18:09.093760 | ubuntu-xenial | /home/zuul/src/git.openstack.org/openstack/python-manilaclient$ /home/zuul/src/git.openstack.org/openstack/python-manilaclient/.tox/py27/bin/pip freeze >/home/zuul/src/git.openstack.org/openstack/python-manilaclient/.tox/py27/log/py27-4.log
2018-03-06 16:18:09.796684 | ubuntu-xenial | py27 installed: alabaster==0.7.10,asn1crypto==0.24.0,Babel==2.5.3,bcrypt==3.1.4,certifi==2018.1.18,cffi==1.11.5,chardet==3.0.4,cliff==2.11.0,cmd2==0.8.0,contextlib2==0.5.5,coverage==4.5.1,cryptography==2.1.4,ddt==1.1.1,debtcollector==1.19.0,docutils==0.14,dulwich==0.18.6,enum34==1.1.6,extras==1.0.0,fasteners==0.14.1,fixtures==3.0.0,flake8==2.5.5,funcsigs==1.0.2,functools32==3.2.3.post2,future==0.16.0,hacking==0.12.0,idna==2.6,imagesize==1.0.0,ipaddress==1.0.19,iso8601==0.1.12,Jinja2==2.10,jsonschema==2.6.0,keystoneauth1==3.4.0,linecache2==1.0.0,MarkupSafe==1.0,mccabe==0.2.1,mock==2.0.0,monotonic==1.4,msgpack==0.5.6,netaddr==0.7.19,netifaces==0.10.6,openstackdocstheme==1.18.1,oslo.concurrency==3.25.0,oslo.config==5.2.0,oslo.context==2.20.0,oslo.i18n==3.19.0,oslo.log==3.36.0,oslo.serialization==2.24.0,oslo.utils==3.35.0,paramiko==2.4.0,pbr==3.1.1,pep8==1.5.7,prettytable==0.7.2,pyasn1==0.4.2,pycparser==2.18,pyflakes==0.8.1,Pygments==2.2.0,pyinotify==0.9.6,PyNaCl==1.2.1,pyparsing==2.2.0,pyperclip==1.6.0,python-dateutil==2.6.1,python-keystoneclient==3.15.0,python-mimeparse==1.6.0,python-subunit==1.2.0,pytz==2018.3,PyYAML==3.12,reno==2.7.0,requests==2.18.4,rfc3986==1.1.0,simplejson==3.13.2,six==1.11.0,snowballstemmer==1.2.1,Sphinx==1.6.5,sphinxcontrib-websupport==1.0.1,stestr==2.0.0,stevedore==1.28.0,subprocess32==3.2.7,tempest==18.0.0,testrepository==0.0.20,testtools==2.3.0,traceback2==1.4.0,typing==3.6.4,unicodecsv==0.14.1,unittest2==1.1.0,urllib3==1.22,voluptuous==0.11.1,wrapt==1.10.11
2018-03-06 16:18:09.796863 | ubuntu-xenial | py27 finish: envreport after 0.70 seconds
2018-03-06 16:18:09.796934 | ubuntu-xenial | py27 start: runtests
2018-03-06 16:18:09.797038 | ubuntu-xenial | py27 runtests: PYTHONHASHSEED='1010373949'
2018-03-06 16:18:09.797183 | ubuntu-xenial | py27 runtests: commands[0] | find . -type f -name *.pyc -delete
2018-03-06 16:18:09.797526 | ubuntu-xenial | setting PATH=/home/zuul/src/git.openstack.org/openstack/python-manilaclient/.tox/py27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
2018-03-06 16:18:09.798547 | ubuntu-xenial | /home/zuul/src/git.openstack.org/openstack/python-manilaclient$ /usr/bin/find . -type f -name *.pyc -delete
2018-03-06 16:18:09.897919 | ubuntu-xenial | py27 runtests: commands[1] | ostestr
2018-03-06 16:18:09.899039 | ubuntu-xenial | ERROR: InvocationError: could not find executable 'ostestr'
2018-03-06 16:18:09.899147 | ubuntu-xenial | py27 finish: runtests after 0.10 seconds

Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :
Revision history for this message
Tom Barron (tpb) wrote :

Fixed by commit 73315f2a8997a51b0de635b71edb7d8e6e448673 which changed from use of ostestr to stestr. This commit is included in 1.23.0.

Changed in python-manilaclient:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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