Tox fails for py27

Bug #1556872 reported by Kiran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ospurge
Invalid
Undecided
Unassigned

Bug Description

$ tox -e py27
py27 develop-inst-noop: /home/user/ospurge
py27 runtests: commands[0] | python setup.py testr --testr-args=
running testr
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ./ospurge/tests
WARNING:root:cinder volume-backups are ignored when ospurge is launched with admin credentials because of the following bug: https://bugs.launchpad.net/python-cinderclient/+bug/1422046
======================================================================
FAIL: ospurge.tests.test_client.TestHeatStacks.test_abandon
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/user/ospurge/.tox/py27/local/lib/python2.7/site-packages/httpretty/core.py", line 1146, in wrapper
    return test(*args, **kw)
  File "ospurge/tests/test_client.py", line 801, in test_abandon
    self.resources.delete(elts[1])
  File "ospurge/client.py", line 505, in delete
    self.client.stacks.abandon(stack.id)
  File "/home/user/ospurge/.tox/py27/local/lib/python2.7/site-packages/heatclient/v1/stacks.py", line 196, in abandon
    stack_identifier = self._resolve_stack_id(stack_id)
  File "/home/user/ospurge/.tox/py27/local/lib/python2.7/site-packages/heatclient/v1/stacks.py", line 106, in _resolve_stack_id
    path = self.client.strip_endpoint(location)
  File "/home/user/ospurge/.tox/py27/local/lib/python2.7/site-packages/heatclient/common/http.py", line 231, in strip_endpoint
    raise exc.InvalidEndpoint(message=message)
heatclient.exc.InvalidEndpoint: Location not returned with 302
Ran 52 tests in 1.339s (+0.173s)
FAILED (id=1, failures=1)
error: testr failed (1)
ERROR: InvocationError: '/home/user/ospurge/.tox/py27/bin/python setup.py testr --testr-args='
___________________________________________________________________ summary ___________________________________________________________________
ERROR: py27: commands failed

Revision history for this message
Steve Martinelli (stevemar) wrote :

I was not able to reproduce this bug on the master branch.

Changed in ospurge:
status: New → Invalid
Revision history for this message
Steve Martinelli (stevemar) wrote :
Download full text (5.0 KiB)

$ tox -e py27
py27 create: /Users/stevemar/workspace/ospurge/.tox/py27
py27 installdeps: -r/Users/stevemar/workspace/ospurge/requirements.txt, -r/Users/stevemar/workspace/ospurge/test-requirements.txt
py27 develop-inst: /Users/stevemar/workspace/ospurge
py27 installed: alabaster==0.7.9,appdirs==1.4.0,Babel==2.3.4,bashate==0.5.1,chardet==2.3.0,cliff==2.2.0,cmd2==0.6.9,debtcollector==1.9.0,doc8==0.7.0,docutils==0.12,extras==1.0.0,fixtures==3.0.0,flake8==2.5.5,funcsigs==1.0.2,functools32==3.2.3.post2,futures==3.0.5,hacking==0.12.0,httpretty==0.8.14,iso8601==0.1.11,Jinja2==2.8,jsonpatch==1.14,jsonpointer==1.10,jsonschema==2.5.1,keystoneauth1==2.15.0,linecache2==1.0.0,MarkupSafe==0.23,mccabe==0.2.1,monotonic==1.2,msgpack-python==0.4.8,netaddr==0.7.18,netifaces==0.10.5,nose==1.3.7,openstackdocstheme==1.5.0,os-client-config==1.22.0,osc-lib==1.2.0,oslo.config==3.19.0,oslo.i18n==3.10.0,oslo.serialization==2.14.0,oslo.utils==3.18.0,-e git+http://github.com/openstack/ospurge@f36e4e8a0a755d28aea3b3d2e3dbf45ffb394b94#egg=ospurge,pbr==1.10.0,pep8==1.5.7,positional==1.1.1,prettytable==0.7.2,pyflakes==0.8.1,Pygments==2.1.3,pyparsing==2.1.10,python-ceilometerclient==2.7.0,python-cinderclient==1.9.0,python-glanceclient==2.5.0,python-heatclient==1.5.0,python-keystoneclient==3.6.0,python-mimeparse==1.6.0,python-neutronclient==6.0.0,python-novaclient==6.0.0,python-subunit==1.2.0,python-swiftclient==3.1.0,pytz==2016.7,PyYAML==3.12,requests==2.11.1,requestsexceptions==1.1.3,restructuredtext-lint==0.17.2,rfc3986==0.4.1,simplejson==3.10.0,six==1.10.0,snowballstemmer==1.2.1,Sphinx==1.3.6,sphinx-rtd-theme==0.1.9,stevedore==1.18.0,testrepository==0.0.20,testtools==2.2.0,traceback2==1.4.0,unicodecsv==0.14.1,unittest2==1.1.0,warlock==1.2.0,wrapt==1.10.8
py27 runtests: PYTHONHASHSEED='2301705451'
py27 runtests: commands[0] | python setup.py testr --testr-args=
running testr
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ./ospurge/tests --list
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ./ospurge/tests --load-list /var/folders/2j/fjvydk2x1rs3rdy99m6hcw2r0000gn/T/tmpMOvlH0
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ./ospurge/tests --load-list /var/folders/2j/fjvydk2x1rs3rdy99m6hcw2r0000gn/T/tmp03WG39
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ./ospurge/tests --load-list /var/folders/2j/fjvydk2x1rs3rdy99m6hcw2r0000gn/T/tmpAM041X
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ./ospurge/tests --load-list /var/folders/2j/fjvydk2x1rs3rdy99m6hcw2r0000gn/T/tmpNUei2m
running=OS_STDOUT_...

Read more...

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.