Flavor tests failing under py33

Bug #1363128 reported by Kurt Griffiths
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
High
peng fei wang

Bug Description

======================================================================
FAIL: tests.unit.queues.transport.wsgi.test_v1_1.TestFlavorsMongoDB.test_detailed_listing_works
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 250, in test_detailed_listing_works
    self._listing_test(detailed=True)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 227, in _listing_test
    with flavors(self, count, self.doc['pool']) as expected:
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py", line 48, in __enter__
    return next(self.gen)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 70, in flavors
    key=lambda tup: tup[1])
TypeError: unorderable types: dict() < dict()

Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 250, in test_detailed_listing_works
    self._listing_test(detailed=True)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 227, in _listing_test
    with flavors(self, count, self.doc['pool']) as expected:
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py", line 48, in __enter__
    return next(self.gen)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 70, in flavors
    key=lambda tup: tup[1])
TypeError: unorderable types: dict() < dict()
======================================================================
FAIL: tests.unit.queues.transport.wsgi.test_v1_1.TestFlavorsMongoDB.test_listing_marker_is_respected
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 259, in test_listing_marker_is_respected
    with flavors(self, 10, self.doc['pool']) as expected:
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py", line 48, in __enter__
    return next(self.gen)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 70, in flavors
    key=lambda tup: tup[1])
TypeError: unorderable types: dict() < dict()

Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 259, in test_listing_marker_is_respected
    with flavors(self, 10, self.doc['pool']) as expected:
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py", line 48, in __enter__
    return next(self.gen)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 70, in flavors
    key=lambda tup: tup[1])
TypeError: unorderable types: dict() < dict()
======================================================================
FAIL: tests.unit.queues.transport.wsgi.test_v1_1.TestFlavorsMongoDB.test_listing_works
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 247, in test_listing_works
    self._listing_test()
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 227, in _listing_test
    with flavors(self, count, self.doc['pool']) as expected:
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py", line 48, in __enter__
    return next(self.gen)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 70, in flavors
    key=lambda tup: tup[1])
TypeError: unorderable types: dict() < dict()

Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 247, in test_listing_works
    self._listing_test()
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 227, in _listing_test
    with flavors(self, count, self.doc['pool']) as expected:
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py", line 48, in __enter__
    return next(self.gen)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 70, in flavors
    key=lambda tup: tup[1])
TypeError: unorderable types: dict() < dict()
======================================================================
FAIL: tests.unit.queues.transport.wsgi.test_v1_1.TestFlavorsMongoDB.test_listing_works_with_limit_1_1
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "/Users/kgriffs/Code/zaqar/.tox/py33/lib/python3.3/site-packages/ddt.py", line 114, in wrapper
    return func(self, *args, **kwargs)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 254, in test_listing_works_with_limit
    self._listing_test(count=15, limit=limit)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 227, in _listing_test
    with flavors(self, count, self.doc['pool']) as expected:
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py", line 48, in __enter__
    return next(self.gen)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 70, in flavors
    key=lambda tup: tup[1])
TypeError: unorderable types: dict() < dict()

Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "/Users/kgriffs/Code/zaqar/.tox/py33/lib/python3.3/site-packages/ddt.py", line 114, in wrapper
    return func(self, *args, **kwargs)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 254, in test_listing_works_with_limit
    self._listing_test(count=15, limit=limit)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 227, in _listing_test
    with flavors(self, count, self.doc['pool']) as expected:
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py", line 48, in __enter__
    return next(self.gen)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 70, in flavors
    key=lambda tup: tup[1])
TypeError: unorderable types: dict() < dict()
======================================================================
FAIL: tests.unit.queues.transport.wsgi.test_v1_1.TestFlavorsMongoDB.test_listing_works_with_limit_2_5
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "/Users/kgriffs/Code/zaqar/.tox/py33/lib/python3.3/site-packages/ddt.py", line 114, in wrapper
    return func(self, *args, **kwargs)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 254, in test_listing_works_with_limit
    self._listing_test(count=15, limit=limit)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 227, in _listing_test
    with flavors(self, count, self.doc['pool']) as expected:
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py", line 48, in __enter__
    return next(self.gen)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 70, in flavors
    key=lambda tup: tup[1])
TypeError: unorderable types: dict() < dict()

Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "/Users/kgriffs/Code/zaqar/.tox/py33/lib/python3.3/site-packages/ddt.py", line 114, in wrapper
    return func(self, *args, **kwargs)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 254, in test_listing_works_with_limit
    self._listing_test(count=15, limit=limit)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 227, in _listing_test
    with flavors(self, count, self.doc['pool']) as expected:
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py", line 48, in __enter__
    return next(self.gen)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 70, in flavors
    key=lambda tup: tup[1])
TypeError: unorderable types: dict() < dict()
======================================================================
FAIL: tests.unit.queues.transport.wsgi.test_v1_1.TestFlavorsMongoDB.test_listing_works_with_limit_3_10
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "/Users/kgriffs/Code/zaqar/.tox/py33/lib/python3.3/site-packages/ddt.py", line 114, in wrapper
    return func(self, *args, **kwargs)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 254, in test_listing_works_with_limit
    self._listing_test(count=15, limit=limit)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 227, in _listing_test
    with flavors(self, count, self.doc['pool']) as expected:
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py", line 48, in __enter__
    return next(self.gen)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 70, in flavors
    key=lambda tup: tup[1])
TypeError: unorderable types: dict() < dict()

Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "/Users/kgriffs/Code/zaqar/.tox/py33/lib/python3.3/site-packages/ddt.py", line 114, in wrapper
    return func(self, *args, **kwargs)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 254, in test_listing_works_with_limit
    self._listing_test(count=15, limit=limit)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 227, in _listing_test
    with flavors(self, count, self.doc['pool']) as expected:
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py", line 48, in __enter__
    return next(self.gen)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 70, in flavors
    key=lambda tup: tup[1])
TypeError: unorderable types: dict() < dict()
======================================================================
FAIL: tests.unit.queues.transport.wsgi.test_v1_1.TestFlavorsMongoDB.test_listing_works_with_limit_4_15
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "/Users/kgriffs/Code/zaqar/.tox/py33/lib/python3.3/site-packages/ddt.py", line 114, in wrapper
    return func(self, *args, **kwargs)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 254, in test_listing_works_with_limit
    self._listing_test(count=15, limit=limit)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 227, in _listing_test
    with flavors(self, count, self.doc['pool']) as expected:
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py", line 48, in __enter__
    return next(self.gen)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 70, in flavors
    key=lambda tup: tup[1])
TypeError: unorderable types: dict() < dict()

Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "/Users/kgriffs/Code/zaqar/.tox/py33/lib/python3.3/site-packages/ddt.py", line 114, in wrapper
    return func(self, *args, **kwargs)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 254, in test_listing_works_with_limit
    self._listing_test(count=15, limit=limit)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 227, in _listing_test
    with flavors(self, count, self.doc['pool']) as expected:
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py", line 48, in __enter__
    return next(self.gen)
  File "./zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py", line 70, in flavors
    key=lambda tup: tup[1])
TypeError: unorderable types: dict() < dict()
db type is dbm.gnu, but the module is not available
error: testr failed (3)
ERROR: InvocationError: '/Users/kgriffs/Code/zaqar/.tox/py33/bin/python setup.py testr --slowest --testr-args=--concurrency 1 '
_____________________________________________________________________ summary _____________________________________________________________________
ERROR: py33: commands failed

Changed in zaqar:
status: New → Triaged
peng fei wang (wpf)
Changed in zaqar:
assignee: nobody → peng fei wang (wpf)
status: Triaged → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zaqar (master)

Fix proposed to branch: master
Review: https://review.openstack.org/118094

Changed in zaqar:
status: Confirmed → In Progress
Changed in zaqar:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zaqar (master)

Reviewed: https://review.openstack.org/118094
Committed: https://git.openstack.org/cgit/openstack/zaqar/commit/?id=fcd9fe207617aeac8b5590c57fe14dd976b66faa
Submitter: Jenkins
Branch: master

commit fcd9fe207617aeac8b5590c57fe14dd976b66faa
Author: pengfei wang <email address hidden>
Date: Mon Sep 1 14:58:54 2014 +0800

    Fix the flavor tests failing under py33

    Change-Id: Ia2d6c11ec6319c2c81551ae4ba01bfdc59df3490
    Closes-Bug: #1363128

Changed in zaqar:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in zaqar:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in zaqar:
milestone: juno-3 → 2014.2
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.