openstack provider test suite fails on twisted < 11.1

Bug #1029070 reported by Clint Byrum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
High
Martin Packman
0.5
Fix Released
High
Clint Byrum

Bug Description

The openstack provider test suite seems to fail on Ubuntu Oneiric and Natty because the API version is different.

oneiric (Twisted 11.0.0) says:

Traceback (most recent call last):
  File "/build/buildd/juju-0.5.1+bzr560/juju/lib/mocker.py", line 146, in test_method_wrapper
    result = test_method()
  File "/build/buildd/juju-0.5.1+bzr560/juju/providers/openstack/tests/test_shutdown.py", line 42, in test_shutdown_multi_none
    deferred = self.get_provider().shutdown_machines([])
  File "/build/buildd/juju-0.5.1+bzr560/juju/providers/openstack/provider.py", line 197, in shutdown_machines
    [self.shutdown_machine(m) for m in machines], consumeErrors=True)
exceptions.TypeError: gatherResults() got an unexpected keyword argument 'consumeErrors'

natty's failure is basically identical.

Related branches

Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: [Bug 1029070] [NEW] openstack provider test suite fails on twisted < 11.1

do we really care about those platforms for feature dev/enablement?

On Wed, Jul 25, 2012 at 3:17 PM, Clint Byrum <email address hidden> wrote:

> Public bug reported:
>
> The openstack provider test suite seems to fail on Ubuntu Oneiric and
> Natty because the API version is different.
>
> oneiric (Twisted 11.0.0) says:
>
> Traceback (most recent call last):
> File "/build/buildd/juju-0.5.1+bzr560/juju/lib/mocker.py", line 146, in
> test_method_wrapper
> result = test_method()
> File
> "/build/buildd/juju-0.5.1+bzr560/juju/providers/openstack/tests/test_shutdown.py",
> line 42, in test_shutdown_multi_none
> deferred = self.get_provider().shutdown_machines([])
> File
> "/build/buildd/juju-0.5.1+bzr560/juju/providers/openstack/provider.py",
> line 197, in shutdown_machines
> [self.shutdown_machine(m) for m in machines], consumeErrors=True)
> exceptions.TypeError: gatherResults() got an unexpected keyword argument
> 'consumeErrors'
>
> natty's failure is basically identical.
>
> ** Affects: juju
> Importance: High
> Status: Triaged
>
> --
> You received this bug notification because you are subscribed to juju.
> https://bugs.launchpad.net/bugs/1029070
>
> Title:
> openstack provider test suite fails on twisted < 11.1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1029070/+subscriptions
>

Martin Packman (gz)
Changed in juju:
assignee: nobody → Martin Packman (gz)
milestone: none → honolulu
status: Triaged → In Progress
Martin Packman (gz)
Changed in juju:
status: In Progress → Fix Committed
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Note that 0.5.2 will work with older twisted, but will still require backported python-oauth, python-txaws, and python-txzookeeper from precise or later to function properly. These are being added to the 0.5 PPA

Changed in juju:
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.