Activity log for bug #1218488

Date Who What changed Old value New value Message
2013-08-29 16:29:40 Terri Yu bug added bug
2013-08-29 16:29:40 Terri Yu attachment added MongoDB connection failures when running entire test suite https://bugs.launchpad.net/bugs/1218488/+attachment/3793499/+files/conn_failures.txt
2013-08-29 16:31:45 Terri Yu description When I run the Ceilometer test suite with the command "tox -e py27", I get 159 ConnectionFailure errors for the MongoDB tests. The traceback for all of these errors is: Traceback (most recent call last): File "/opt/stack/ceilometer/ceilometer/tests/base.py", line 71, in skip_if_not_implemented return func(*args, **kwargs) File "/opt/stack/ceilometer/tests/storage/test_storage_scenarios.py", line 1685, in setUp super(EventTestBase, self).setUp() File "/opt/stack/ceilometer/ceilometer/tests/db.py", line 43, in setUp self.conn = storage.get_connection(cfg.CONF) File "/opt/stack/ceilometer/ceilometer/storage/__init__.py", line 81, in get_connection return get_engine(conf).get_connection(conf) File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 76, in get_connection return Connection(conf) File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 301, in __init__ self.conn = self.CONNECTION_POOL.connect(url) File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 154, in connect safe=True) File "/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 352, in __init__ raise ConnectionFailure(str(e)) ConnectionFailure: connection closed There is also an odd message "No module named deprecated" at the end of the test results. If I increase the maximum number of MongoDB connections in the --maxConns argument to mongod in run-tests.sh, the errors go away, but I still get the "No module named deprecated" message. When I run the Ceilometer test suite with the command "tox -e py27", I get 159 ConnectionFailure errors for the MongoDB tests. The traceback for all of these errors is: Traceback (most recent call last):   File "/opt/stack/ceilometer/ceilometer/tests/base.py", line 71, in skip_if_not_implemented     return func(*args, **kwargs)   File "/opt/stack/ceilometer/tests/storage/test_storage_scenarios.py", line 1685, in setUp     super(EventTestBase, self).setUp()   File "/opt/stack/ceilometer/ceilometer/tests/db.py", line 43, in setUp     self.conn = storage.get_connection(cfg.CONF)   File "/opt/stack/ceilometer/ceilometer/storage/__init__.py", line 81, in get_connection     return get_engine(conf).get_connection(conf)   File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 76, in get_connection     return Connection(conf)   File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 301, in __init__     self.conn = self.CONNECTION_POOL.connect(url)   File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 154, in connect     safe=True)   File "/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 352, in __init__     raise ConnectionFailure(str(e)) ConnectionFailure: connection closed There is also an odd message "No module named deprecated" at the end of the test results. If I increase the maximum number of MongoDB connections from 128 to 256 in the --maxConns argument to mongod in run-tests.sh, the errors go away, but I still get the "No module named deprecated" message.
2013-08-29 16:37:21 Terri Yu ceilometer: status New Confirmed
2013-08-30 01:07:01 Terri Yu description When I run the Ceilometer test suite with the command "tox -e py27", I get 159 ConnectionFailure errors for the MongoDB tests. The traceback for all of these errors is: Traceback (most recent call last):   File "/opt/stack/ceilometer/ceilometer/tests/base.py", line 71, in skip_if_not_implemented     return func(*args, **kwargs)   File "/opt/stack/ceilometer/tests/storage/test_storage_scenarios.py", line 1685, in setUp     super(EventTestBase, self).setUp()   File "/opt/stack/ceilometer/ceilometer/tests/db.py", line 43, in setUp     self.conn = storage.get_connection(cfg.CONF)   File "/opt/stack/ceilometer/ceilometer/storage/__init__.py", line 81, in get_connection     return get_engine(conf).get_connection(conf)   File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 76, in get_connection     return Connection(conf)   File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 301, in __init__     self.conn = self.CONNECTION_POOL.connect(url)   File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 154, in connect     safe=True)   File "/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 352, in __init__     raise ConnectionFailure(str(e)) ConnectionFailure: connection closed There is also an odd message "No module named deprecated" at the end of the test results. If I increase the maximum number of MongoDB connections from 128 to 256 in the --maxConns argument to mongod in run-tests.sh, the errors go away, but I still get the "No module named deprecated" message. When I run the Ceilometer test suite with the command "tox -e py27", I get 159 ConnectionFailure errors for the MongoDB tests. The traceback for all of these errors is: Traceback (most recent call last):   File "/opt/stack/ceilometer/ceilometer/tests/base.py", line 71, in skip_if_not_implemented     return func(*args, **kwargs)   File "/opt/stack/ceilometer/tests/storage/test_storage_scenarios.py", line 1685, in setUp     super(EventTestBase, self).setUp()   File "/opt/stack/ceilometer/ceilometer/tests/db.py", line 43, in setUp     self.conn = storage.get_connection(cfg.CONF)   File "/opt/stack/ceilometer/ceilometer/storage/__init__.py", line 81, in get_connection     return get_engine(conf).get_connection(conf)   File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 76, in get_connection     return Connection(conf)   File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 301, in __init__     self.conn = self.CONNECTION_POOL.connect(url)   File "/opt/stack/ceilometer/ceilometer/storage/impl_mongodb.py", line 154, in connect     safe=True)   File "/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 352, in __init__     raise ConnectionFailure(str(e)) ConnectionFailure: connection closed There is also an odd message "No module named deprecated" at the end of the test results. It seems that there are two ways to get around this: 1) If I increase the maximum number of MongoDB connections from 128 to 256 in the --maxConns argument to mongod in run-tests.sh, the errors go away, but I still get the "No module named deprecated" message. 2) If I only run a part of the test suite (e.g. "tox -e py27 -- storage"), the errors also disappear, though I still get the "No module named deprecated" message.
2013-09-02 07:38:09 OpenStack Infra ceilometer: status Confirmed In Progress
2013-09-02 07:38:09 OpenStack Infra ceilometer: assignee Mehdi Abaakouk (sileht)
2013-09-05 09:04:45 OpenStack Infra ceilometer: status In Progress Fix Committed
2013-09-05 09:43:27 Thierry Carrez ceilometer: status Fix Committed Fix Released
2013-09-05 09:43:27 Thierry Carrez ceilometer: milestone havana-3
2013-09-09 09:12:20 Julien Danjou ceilometer: status Fix Released Confirmed
2013-09-09 09:24:55 Julien Danjou ceilometer: importance Undecided Critical
2013-09-09 09:25:18 Julien Danjou ceilometer: milestone havana-3 havana-rc1
2013-09-09 13:13:57 OpenStack Infra ceilometer: status Confirmed Fix Committed
2013-10-02 19:04:21 Thierry Carrez ceilometer: status Fix Committed Fix Released
2013-10-17 09:36:31 Thierry Carrez ceilometer: milestone havana-rc1 2013.2