CI fails on tests.collector.dispatcher.test_db.TestDispatcherDB.test_invalid_message

Bug #1212974 reported by Julien Danjou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Confirmed
Critical
Julien Danjou

Bug Description

2013-08-16 02:02:38.191 | FAIL: tests.collector.dispatcher.test_db.TestDispatcherDB.test_invalid_message
2013-08-16 02:02:38.191 | tags: worker-0
2013-08-16 02:02:38.192 | ----------------------------------------------------------------------
2013-08-16 02:02:38.193 | Empty attachments:
2013-08-16 02:02:38.193 | pythonlogging:''
2013-08-16 02:02:38.193 |
2013-08-16 02:02:38.194 | Traceback (most recent call last):
2013-08-16 02:02:38.194 | File "/home/jenkins/workspace/gate-ceilometer-python27/tests/collector/dispatcher/test_db.py", line 33, in setUp
2013-08-16 02:02:38.194 | self.dispatcher = database.DatabaseDispatcher(cfg.CONF)
2013-08-16 02:02:38.195 | File "/home/jenkins/workspace/gate-ceilometer-python27/ceilometer/collector/dispatcher/database.py", line 42, in __init__
2013-08-16 02:02:38.195 | self.storage_conn = storage.get_connection(conf)
2013-08-16 02:02:38.195 | File "/home/jenkins/workspace/gate-ceilometer-python27/ceilometer/storage/__init__.py", line 81, in get_connection
2013-08-16 02:02:38.196 | return get_engine(conf).get_connection(conf)
2013-08-16 02:02:38.196 | File "/home/jenkins/workspace/gate-ceilometer-python27/ceilometer/storage/impl_mongodb.py", line 75, in get_connection
2013-08-16 02:02:38.196 | return Connection(conf)
2013-08-16 02:02:38.197 | File "/home/jenkins/workspace/gate-ceilometer-python27/ceilometer/storage/impl_mongodb.py", line 258, in __init__
2013-08-16 02:02:38.197 | raise storage.StorageBadVersion("Need at least MongoDB 2.2")
2013-08-16 02:02:38.197 | StorageBadVersion: Need at least MongoDB 2.2

http://logs.openstack.org/26/41926/3/check/gate-ceilometer-python27/297098d/console.html.gz

Probably triggered by cfg.CONF not (re)set correcly and tests running conurrently.

Julien Danjou (jdanjou)
Changed in ceilometer:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Julien Danjou (jdanjou)
Revision history for this message
Lianhao Lu (lianhao-lu) wrote :
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.