[PKG-Openstack-devel] Bug#877252: python-pbr: FTBFS: pbr.tests.test_packaging.TestRequirementParsing.test_requirement_parsing ... FAIL
Andreas Beckmann
anbe at debian.org
Fri Sep 29 20:12:36 UTC 2017
Source: python-pbr
Version: 3.1.1-1
Severity: serious
Justification: fails to build from source
Hi,
python-pbr/experimental FTBFS in a current sid+experimental environment:
[...]
pbr.tests.test_packaging.TestRequirementParsing.test_requirement_parsing
pbr.tests.test_packaging.TestRequirementParsing.test_requirement_parsing ... FAIL
[...]
======================================================================
FAIL: pbr.tests.test_packaging.TestRequirementParsing.test_requirement_parsing
pbr.tests.test_packaging.TestRequirementParsing.test_requirement_parsing
----------------------------------------------------------------------
_StringException: Empty attachments:
pythonlogging:''
pythonlogging:'pbr'
stderr
stdout: {{{
Initialized empty Git repository in /tmp/tmpiJTbcc/tmpDyNFu8/test_reqparse/.git/
[master (root-commit) db99dac] test commit
4 files changed, 19 insertions(+)
create mode 100644 4
create mode 100644 requirements.txt
create mode 100644 setup.cfg
create mode 100644 setup.py
}}}
traceback-1: {{{
Traceback (most recent call last):
File "pbr/tests/test_packaging.py", line 767, in test_requirement_parsing
venv = self.useFixture(Venv('reqParse'))
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 670, in useFixture
gather_details(fixture.getDetails(), self.getDetails())
File "/usr/lib/python2.7/dist-packages/fixtures/fixture.py", line 170, in getDetails
result = dict(self._details)
TypeError: 'NoneType' object is not iterable
}}}
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/fixtures/fixture.py", line 212, in setUp
raise MultipleExceptions(*errors)
testtools.runtest.MultipleExceptions: ((<type 'exceptions.AssertionError'>, AssertionError('Failed process 2',), <traceback object at 0x7f63cf3f0ab8>), (<class 'fixtures.fixture.SetupError'>, SetupError({'mkvenv-reqParse-stdout': <Content type=text/plain; charset="utf8", value=''>, 'mkvenv-reqParse-stderr': <Content type=text/plain; charset="utf8", value='Exception:\nTraceback (most recent call last):\n File "/tmp/tmpiJTbcc/tmpcXD2h5/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main\n status = self.run(options, args)\n File "/tmp/tmpiJTbcc/tmpcXD2h5/local/lib/python2.7/site-packages/pip/commands/install.py", line 353, in run\n wb.build(autobuilding=True)\n File "/tmp/tmpiJTbcc/tmpcXD2h5/local/lib/python2.7/site-packages/pip/wheel.py", line 749, in build\n self.requirement_set.prepare_files(self.finder)\n File "/tmp/tmpiJTbcc/tmpcXD2h5/local/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files\n ignore_dependencies=self.ign
ore_dependencies))\n File "/tmp/tmpiJTbcc/tmpcXD2h5/local/lib/python2.7/site-packages/pip/req/req_set.py", line 487, in _prepare_file\n req_to_install, finder)\n File "/tmp/tmpiJTbcc/tmpcXD2h5/local/lib/python2.7/site-packages/pip/req/req_set.py", line 428, in _check_skip_installed\n req_to_install, upgrade_allowed)\n File "/tmp/tmpiJTbcc/tmpcXD2h5/local/lib/python2.7/site-packages/pip/index.py", line 465, in find_requirement\n all_candidates = self.find_all_candidates(req.name)\n File "/tmp/tmpiJTbcc/tmpcXD2h5/local/lib/python2.7/site-packages/pip/index.py", line 423, in find_all_candidates\n for page in self._get_pages(url_locations, project_name):\n File "/tmp/tmpiJTbcc/tmpcXD2h5/local/lib/python2.7/site-packages/pip/index.py", line 568, in _get_pages\n page = self._get_page(location)\n File "/tmp/tmpiJTbcc/tmpcXD2h5/local/lib/python2.7/site-packages/pip/index.py", line 683, in _get_page\n return HTMLPage.get_page(link, session=self.session)\n File "/tmp/
tmpiJTbcc/tmpcXD2h5/local/lib/python2.7/site-packages/pip/index.py", line 792, in get_page\n "Cache-Control": "max-age=600",\n File "/tmp/tmpiJTbcc/tmpcXD2h5/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get\n return self.request(\'GET\', url, **kwargs)\n File "/tmp/tmpiJTbcc/tmpcXD2h5/local/lib/python2.7/site-packages/pip/download.py", line 386, in request\n return super(PipSession, self).request(method, url, *args, **kwargs)\n File "/tmp/tmpiJTbcc/tmpcXD2h5/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request\n resp = self.send(prep, **send_kwargs)\n File "/tmp/tmpiJTbcc/tmpcXD2h5/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send\n r = adapter.send(request, **kwargs)\n File "/tmp/tmpiJTbcc/tmpcXD2h5/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send\n resp = super(C
acheControlAdapter, self).send(request, **kw)\n File "/tmp/tmpiJTbcc/tmpcXD2h5/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send\n timeout=timeout\n File "/tmp/tmpiJTbcc/tmpcXD2h5/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen\n _stacktrace=sys.exc_info()[2])\n File "/tmp/tmpiJTbcc/tmpcXD2h5/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment\n total -= 1\nTypeError: unsupported operand type(s) for -=: \'Retry\' and \'int\'\n'>},), <traceback object at 0x7f63cf4247a0>))
----------------------------------------------------------------------
Ran 183 tests in 120.775s
FAILED (failures=1, skipped=22)
debian/rules:39: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/build/python-pbr-3.1.1'
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-pbr_3.1.1-1.log.gz
Type: application/gzip
Size: 15730 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20170929/9a266362/attachment-0001.bin>
More information about the Openstack-devel
mailing list