Testtools 0.9.35 incompatible with subunit 0.0.17

Bug #1274050 reported by Ivan Melnikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
taskflow
Fix Released
Undecided
Unassigned

Bug Description

All our unit tests jobs at gate fail even before running any tests:

2014-01-29 10:48:44.920 | Traceback (most recent call last):
2014-01-29 10:48:44.921 | File "setup.py", line 22, in <module>
2014-01-29 10:48:44.922 | pbr=True)
2014-01-29 10:48:44.923 | File "/usr/lib64/python2.6/distutils/core.py", line 138, in setup
2014-01-29 10:48:44.923 | ok = dist.parse_command_line()
2014-01-29 10:48:44.924 | File "/home/jenkins/workspace/gate-taskflow-python26/.tox/py26/lib/python2.6/site-packages/setuptools/dist.py", line 276, in parse_command_line
2014-01-29 10:48:44.924 | result = _Distribution.parse_command_line(self)
2014-01-29 10:48:44.925 | File "/usr/lib64/python2.6/distutils/dist.py", line 460, in parse_command_line
2014-01-29 10:48:44.926 | args = self._parse_command_opts(parser, args)
2014-01-29 10:48:44.926 | File "/home/jenkins/workspace/gate-taskflow-python26/.tox/py26/lib/python2.6/site-packages/setuptools/dist.py", line 602, in _parse_command_opts
2014-01-29 10:48:44.927 | nargs = _Distribution._parse_command_opts(self, parser, args)
2014-01-29 10:48:44.927 | File "/usr/lib64/python2.6/distutils/dist.py", line 518, in _parse_command_opts
2014-01-29 10:48:44.928 | cmd_class = self.get_command_class(command)
2014-01-29 10:48:44.928 | File "/home/jenkins/workspace/gate-taskflow-python26/.tox/py26/lib/python2.6/site-packages/setuptools/dist.py", line 407, in get_command_class
2014-01-29 10:48:44.929 | self.cmdclass[command] = cmdclass = ep.load()
2014-01-29 10:48:44.929 | File "/home/jenkins/workspace/gate-taskflow-python26/.tox/py26/lib/python2.6/site-packages/pkg_resources.py", line 2260, in load
2014-01-29 10:48:44.930 | entry = __import__(self.module_name, globals(),globals(), ['__name__'])
2014-01-29 10:48:44.930 | File "/home/jenkins/workspace/gate-taskflow-python26/.tox/py26/lib/python2.6/site-packages/testrepository/setuptools_command.py", line 33, in <module>
2014-01-29 10:48:44.931 | from testrepository import commands
2014-01-29 10:48:44.931 | File "/home/jenkins/workspace/gate-taskflow-python26/.tox/py26/lib/python2.6/site-packages/testrepository/commands/__init__.py", line 40, in <module>
2014-01-29 10:48:44.932 | import subunit
2014-01-29 10:48:44.932 | File "/home/jenkins/workspace/gate-taskflow-python26/.tox/py26/lib/python2.6/site-packages/subunit/__init__.py", line 141, in <module>
2014-01-29 10:48:44.933 | from subunit import chunked, details, iso8601, test_results
2014-01-29 10:48:44.933 | File "/home/jenkins/workspace/gate-taskflow-python26/.tox/py26/lib/python2.6/site-packages/subunit/test_results.py", line 23, in <module>
2014-01-29 10:48:44.934 | from testtools.compat import all
2014-01-29 10:48:44.935 | ImportError: cannot import name all
2014-01-29 10:48:44.992 | ERROR: InvocationError: '/home/jenkins/workspace/gate-taskflow-python26/.tox/py26/bin/python setup.py testr --slowest --testr-args='

Full log: http://logs.openstack.org/14/69814/2/check/gate-taskflow-python26/9dd493b/console.html

This is happens in local environment too, and downgrading testtools to 0.9.34 helps there.

Revision history for this message
Ivan Melnikov (imelnikov) wrote :

I guess we need to pin testtools to 0.9.34 for now.

Revision history for this message
Ivan Melnikov (imelnikov) wrote :
Revision history for this message
Sergey Lukjanov (slukjanov) wrote :

I've proposed temp fix for global requirements: https://review.openstack.org/#/c/69840/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to taskflow (master)

Reviewed: https://review.openstack.org/69836
Committed: https://git.openstack.org/cgit/stackforge/taskflow/commit/?id=38b32be26028dad44db53e6fca21eec8caac6b6a
Submitter: Jenkins
Branch: master

commit 38b32be26028dad44db53e6fca21eec8caac6b6a
Author: Ivan A. Melnikov <email address hidden>
Date: Wed Jan 29 15:10:53 2014 +0400

    Pin testtools to 0.9.34 in test requirements

    SubUnit is incompatible with newer testtools.

    Closes-bug: 1274050
    Change-Id: Ibe855930cecf6598ea72c13f609116450c719b46

Changed in taskflow:
status: New → Fix Committed
Changed in taskflow:
status: Fix Committed → 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.