Skip to content

Instantly share code, notes, and snippets.

@terriyu
Last active December 21, 2015 01:48
Show Gist options
  • Select an option

  • Save terriyu/6230064 to your computer and use it in GitHub Desktop.

Select an option

Save terriyu/6230064 to your computer and use it in GitHub Desktop.
These are the Ceilometer test results for my 2nd patchset containing storage tests for a group by feature. [Reference: Patch Set 2 of https://review.openstack.org/#/c/41597/]
$ cd /opt/stack/ceilometer
$ tox -e py27 -- storage
GLOB sdist-make: /opt/stack/ceilometer/setup.py
py27 inst-nodeps: /opt/stack/ceilometer/.tox/dist/ceilometer-2013.2.a380.g83df81b.zip
py27 runtests: commands[0] | bash -x /opt/stack/ceilometer/run-tests.sh storage
WARNING:test command found but not installed in testenv
cmd: /bin/bash
env: /opt/stack/ceilometer/.tox/py27
Maybe forgot to specify a dependency?
+ set -e
+ '[' storage = --coverage ']'
+ '[' '!' '' ']'
+ bash tools/init_testr_if_needed.sh
+ python setup.py testr --slowest '--testr-args=--concurrency=1 --here=nova_tests storage'
running testr
running=${PYTHON:-python} -m subunit.run discover -t ./nova_tests ./nova_tests --list
PASSED (id=33)
Slowest Tests
Test id Runtime (s)
------------------------------------------------------------------------------------------- -----------
tests.storage.test_impl_sqlalchemy.AlarmTest.test_add 0.804
tests.storage.test_impl_sqlalchemy.AlarmTest.test_defaults 0.655
tests.storage.test_impl_sqlalchemy.RawSampleTest.test_get_samples_by_both_times 0.618
tests.storage.test_impl_sqlalchemy.RawSampleTest.test_get_samples_by_name 0.525
tests.storage.test_impl_sqlalchemy.CounterDataTypeTest.test_storage_can_handle_float_values 0.429
tests.storage.test_impl_sqlalchemy.UserTest.test_get_users_by_source 0.428
tests.storage.test_impl_sqlalchemy.RawSampleTest.test_clear_metering_data 0.419
tests.storage.test_impl_sqlalchemy.RawSampleTest.test_get_samples_limit 0.411
tests.storage.test_impl_sqlalchemy.ResourceTest.test_get_resources 0.369
tests.storage.test_impl_sqlalchemy.RawSampleTest.test_clear_metering_data_no_data_to_remove 0.359
++ mktemp -d /tmp/CEILO-MONGODB-XXXXX
+ MONGO_DATA=/tmp/CEILO-MONGODB-dmmMT
+ trap clean_exit EXIT
+ mkfifo /tmp/CEILO-MONGODB-dmmMT/out
+ MONGO_PID=942
+ mongod --maxConns 32 --nojournal --noprealloc --smallfiles --quiet --noauth --port 29000 --dbpath /tmp/CEILO-MONGODB-dmmMT --bind_ip localhost
+ read line
+ grep -q 'waiting for connections on port'
+ echo 'note: noprealloc may hurt performance in many applications'
+ read line
+ grep -q 'waiting for connections on port'
+ read line
+ grep -q 'waiting for connections on port'
+ echo 'Wed Aug 14 04:26:08.262 [initandlisten] db version v2.4.5'
+ read line
+ echo 'Wed Aug 14 04:26:08.262 [initandlisten] git version: a2ddc68ba7c9cee17bfe69ed840383ec3506602b'
+ grep -q 'waiting for connections on port'
+ read line
+ echo 'Wed Aug 14 04:26:08.262 [initandlisten] build info: Linux ip-10-2-29-40 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_49'
+ grep -q 'waiting for connections on port'
+ read line
+ echo 'Wed Aug 14 04:26:08.262 [initandlisten] allocator: tcmalloc'
+ grep -q 'waiting for connections on port'
+ read line
+ echo 'Wed Aug 14 04:26:08.262 [initandlisten] options: { bind_ip: "localhost", dbpath: "/tmp/CEILO-MONGODB-dmmMT", maxConns: 32, noauth: true, nojournal: true, noprealloc: true, port: 29000, quiet: true, smallfiles: true }'
+ grep -q 'waiting for connections on port'
+ read line
+ echo 'Wed Aug 14 04:26:08.307 [FileAllocator] allocating new datafile /tmp/CEILO-MONGODB-dmmMT/local.ns, filling with zeroes...'
+ grep -q 'waiting for connections on port'
+ read line
+ echo 'Wed Aug 14 04:26:08.307 [FileAllocator] creating directory /tmp/CEILO-MONGODB-dmmMT/_tmp'
+ grep -q 'waiting for connections on port'
+ read line
+ grep -q 'waiting for connections on port'
+ echo 'Wed Aug 14 04:26:08.336 [FileAllocator] done allocating datafile /tmp/CEILO-MONGODB-dmmMT/local.ns, size: 16MB, took 0 secs'
+ read line
+ echo 'Wed Aug 14 04:26:08.337 [FileAllocator] allocating new datafile /tmp/CEILO-MONGODB-dmmMT/local.0, filling with zeroes...'
+ grep -q 'waiting for connections on port'
+ read line
+ echo 'Wed Aug 14 04:26:08.338 [FileAllocator] done allocating datafile /tmp/CEILO-MONGODB-dmmMT/local.0, size: 16MB, took 0.001 secs'
+ grep -q 'waiting for connections on port'
+ read line
+ echo 'Wed Aug 14 04:26:08.376 [initandlisten] waiting for connections on port 29000'
+ grep -q 'waiting for connections on port'
+ break
+ export CEILOMETER_TEST_MONGODB_URL=mongodb://localhost:29000/ceilometer
+ CEILOMETER_TEST_MONGODB_URL=mongodb://localhost:29000/ceilometer
+ python setup.py testr --slowest --testr-args=storage
+ cat /tmp/CEILO-MONGODB-dmmMT/out
running testr
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_fd89381b61de4201a0da1d1bcd3dd2d6, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_ebcf5cee50f549f6b339f12e7a9d34ce, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_65dab5a0ad044bb187ac97694355f02a, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_980fc52f3ab341f59a9bf606284b5886, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_57b22fb26c62416cb59654d9d74770eb, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_26c03a66719d41e69fd920d822f593f5, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_e346ea19cb9a4637ac85ca962a74fe26, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_5b994bbef0134783bbd8a2fd2a6c81b5, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_2ba824acfce3424fa57c45e457875d63, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_6fdc84a89c58416aab65b8fdc891a4ba, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_ca09e217db784d79920ce10a135ed6f2, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_beb25c04bb2441f29a3597798ba21db6, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_c389d926661949ce830168da72186601, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_d5dff8f222a440b2b9538d7400d7193b, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_fcc20698b81d4de0a27faef7cbcb3dc4, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_93a5b16185134d9fbf7ccd57ce1ba84d, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_d39617cc066d4a3b8a7e41da18fa3acc, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_5ed795658b744486a082ed5283741790, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_ff80058c421149418f8b423b8c02ec00, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_8070af2cdecd4a30808438a52a2a2e70, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_012fc4689e24424aa22a1909fb066833, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_f11940827e544e748fdf5219b8342795, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_d989e457c9624053b143d868d6611531, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_1e3bddd29a2b4c13a3e67b7fcafccea4, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_4d03a628980b41a4a7fd998372763ef0, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_f2ff82d8b1ae4e28bc519b962f0884c5, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_31ef9798b9a947a288a33fc38af8a12e, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_87df69b8e58d4f5ab04c101417167378, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_d10c7032f5054543b42f85313c350a88, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_4470ab057a81478d99b169b71ec170ad, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_c45505fe44a44baa85ff304f0378dd9f, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_57a60abe31ce41948ccc715b2a885537, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_9faa84ef5e2a4d2da1e90072aa7cebab, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_7da48386e7994501a50cb1a9632122f5, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_ce43f0bb877444bd8dedcb1fd1bda5cc, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_7ffdb76278e54c5b84483133e3163764, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_9fd2c72df2004b208a5c881a123972af, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_ac3235b004a74430b65b0be3698f3f0f, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_fc8e335668684b8783a5a85e7447b4b7, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_acb14a7ecadc457b8523afd2cad7163a, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_b929c93ae1bd4fe08917411f672c2b89, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_f5ff71bf612343239a8f082118cb2513, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_f6abdfb950de4748bfb4d3f901721e55, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_474d4c32526d4814ab644045b98deb49, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_8703a1da152049cca3ce319283f3f8d4, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_72b2858668c7497f8a4ebf4e90cee249, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_52f57ffc2d594291aeabcf8db504f289, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_0e760f79175644ab8b8e8ad57a2251a4, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_21c9c8786e684cf3ab50baa74892d463, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_8a407135a78a4da9a80f325648ca1112, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_d3b1e23b163545f38bfdef8cd8741cbf, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_62fe632648b44b238c70b64a1754f52c, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_8a4718c1bd074b109def46d4dce5ac19, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_faf68646284a4e70b749908f7a3e8355, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_a81621dcc7d64b93b574da16eab37f0b, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_e74d67094a2a458ebc12427e01bcc555, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_dae3db57bd1442ac89c1a3cf710b88b7, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_4fb499cbca9242efa9a038b5706be130, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_d6a1fafe23324bcd93ff401253b0e976, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_7c3e58a6127c4c8883550796caf1686e, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_f640d827ef5340779b59d3d0f91a6788, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_dfb4a073f7d842ffbb1ed28b0dc04ad6, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_ddf4a52b7a7041cb9b6707abada39442, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_bee7548a8bdf49988979f163e41b1794, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_b6c0b92cf8e841e5af2684aad265c17c, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_a3c8bfd788d64c3785ae649d345682c0, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_f7ecf36d20c343cd8e70e398e1c7cc22, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_0c17b3ddccd940c5a936bf9a428e3a03, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_d14098ddfe024707b3baeb44e9cde0f0, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_f1e9f607662f4a7196394f532063a461, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_325bbcb021a242d4ad626f6c6d112d58, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_7adb5b15d10840e79ff3eb6cffa9a0ab, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_e2df2493230542ee82773b64f4181af0, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_86fbc9f629034dbd8d5ad14ed31ab053, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_24b4ac6efa5148bcb790a0bfa0d075de, you must provide a username and password.
"must provide a username and password." % (db_name,))
running=${PYTHON:-python} -m subunit.run discover -t ./ ./tests --list
running=${PYTHON:-python} -m subunit.run discover -t ./ ./tests --load-list /tmp/tmpnh9Aal
running=${PYTHON:-python} -m subunit.run discover -t ./ ./tests --load-list /tmp/tmpySQvBc
======================================================================
FAIL: tests.storage.test_impl_mongodb.StatisticsGroupByTest.test_group_by_resource
tags: worker-1
----------------------------------------------------------------------
pythonlogging:'': {{{connecting to MongoDB on mongodb://localhost:29000/ceilometer_f7ecf36d20c343cd8e70e398e1c7cc22}}}
Traceback (most recent call last):
File "/opt/stack/ceilometer/tests/storage/base.py", line 957, in test_group_by_resource
groupby=['resource_id']))
TypeError: get_meter_statistics() got an unexpected keyword argument 'groupby'
======================================================================
FAIL: tests.storage.test_impl_mongodb.StatisticsGroupByTest.test_group_by_multiple_regular
tags: worker-0
----------------------------------------------------------------------
pythonlogging:'': {{{connecting to MongoDB on mongodb://localhost:29000/ceilometer_0c17b3ddccd940c5a936bf9a428e3a03}}}
Traceback (most recent call last):
File "/opt/stack/ceilometer/tests/storage/base.py", line 1048, in test_group_by_multiple_regular
'resource_id']))
TypeError: get_meter_statistics() got an unexpected keyword argument 'groupby'
======================================================================
FAIL: tests.storage.test_impl_mongodb.StatisticsGroupByTest.test_group_by_source
tags: worker-1
----------------------------------------------------------------------
pythonlogging:'': {{{connecting to MongoDB on mongodb://localhost:29000/ceilometer_d14098ddfe024707b3baeb44e9cde0f0}}}
Traceback (most recent call last):
File "/opt/stack/ceilometer/tests/storage/base.py", line 1012, in test_group_by_source
results = list(self.conn.get_meter_statistics(f, groupby=['source']))
TypeError: get_meter_statistics() got an unexpected keyword argument 'groupby'
======================================================================
FAIL: tests.storage.test_impl_mongodb.StatisticsGroupByTest.test_group_by_project
tags: worker-0
----------------------------------------------------------------------
pythonlogging:'': {{{connecting to MongoDB on mongodb://localhost:29000/ceilometer_f1e9f607662f4a7196394f532063a461}}}
Traceback (most recent call last):
File "/opt/stack/ceilometer/tests/storage/base.py", line 989, in test_group_by_project
groupby=['project_id']))
TypeError: get_meter_statistics() got an unexpected keyword argument 'groupby'
======================================================================
FAIL: tests.storage.test_impl_mongodb.StatisticsGroupByTest.test_group_by_user
tags: worker-1
----------------------------------------------------------------------
pythonlogging:'': {{{connecting to MongoDB on mongodb://localhost:29000/ceilometer_325bbcb021a242d4ad626f6c6d112d58}}}
Traceback (most recent call last):
File "/opt/stack/ceilometer/tests/storage/base.py", line 925, in test_group_by_user
results = list(self.conn.get_meter_statistics(f, groupby=['user_id']))
TypeError: get_meter_statistics() got an unexpected keyword argument 'groupby'
======================================================================
FAIL: tests.storage.test_impl_mongodb.StatisticsGroupByTest.test_group_by_with_query_filter
tags: worker-1
----------------------------------------------------------------------
pythonlogging:'': {{{connecting to MongoDB on mongodb://localhost:29000/ceilometer_e2df2493230542ee82773b64f4181af0}}}
Traceback (most recent call last):
File "/opt/stack/ceilometer/tests/storage/base.py", line 1086, in test_group_by_with_query_filter
results = list(self.conn.get_meter_statistics(f, groupby=['resource']))
TypeError: get_meter_statistics() got an unexpected keyword argument 'groupby'
======================================================================
FAIL: tests.storage.test_impl_mongodb.StatisticsGroupByTe/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_18205e5df3ca40f8b59c505d6341f991, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_cd86687368774009ace36df21900b7a4, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_7510fa1ab5f4480ab9354954c052d50c, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_2c1a88b199ce428895451e68f0d5bf78, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_38d42bee5adc4101ba64514111e8647e, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/alembic/util.py:163: UserWarning: Skipping unsupported ALTER for creation of implicit constraint
warnings.warn(msg)
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_e5e3f0a168b64cf3bc0d106d2b7afcd7, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_3747da0aa2a9444cbf12fd1802795155, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/pymongo/mongo_client.py:343: UserWarning: database name or authSource in URI is being ignored. If you wish to authenticate to ceilometer_08ed5527ad1b420a9f4301f7b71aedb0, you must provide a username and password.
"must provide a username and password." % (db_name,))
/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/alembic/util.py:163: UserWarning: Skipping unsupported ALTER for creation of implicit constraint
warnings.warn(msg)
st.test_group_by_with_query_filter_multiple
tags: worker-1
----------------------------------------------------------------------
pythonlogging:'': {{{connecting to MongoDB on mongodb://localhost:29000/ceilometer_24b4ac6efa5148bcb790a0bfa0d075de}}}
Traceback (most recent call last):
File "/opt/stack/ceilometer/tests/storage/base.py", line 1123, in test_group_by_with_query_filter_multiple
'resource']))
TypeError: get_meter_statistics() got an unexpected keyword argument 'groupby'
======================================================================
FAIL: tests.storage.test_impl_sqlalchemy.StatisticsGroupByTest.test_group_by_resource
tags: worker-0
----------------------------------------------------------------------
Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/opt/stack/ceilometer/tests/storage/base.py", line 957, in test_group_by_resource
groupby=['resource_id']))
TypeError: get_meter_statistics() got an unexpected keyword argument 'groupby'
======================================================================
FAIL: tests.storage.test_impl_sqlalchemy.StatisticsGroupByTest.test_group_by_source
tags: worker-0
----------------------------------------------------------------------
Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/opt/stack/ceilometer/tests/storage/base.py", line 1012, in test_group_by_source
results = list(self.conn.get_meter_statistics(f, groupby=['source']))
TypeError: get_meter_statistics() got an unexpected keyword argument 'groupby'
======================================================================
FAIL: tests.storage.test_impl_sqlalchemy.StatisticsGroupByTest.test_group_by_with_query_filter_multiple
tags: worker-0
----------------------------------------------------------------------
Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/opt/stack/ceilometer/tests/storage/base.py", line 1123, in test_group_by_with_query_filter_multiple
'resource']))
TypeError: get_meter_statistics() got an unexpected keyword argument 'groupby'
======================================================================
FAIL: tests.storage.test_impl_sqlalchemy.StatisticsGroupByTest.test_group_by_multiple_regular
tags: worker-1
----------------------------------------------------------------------
Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/opt/stack/ceilometer/tests/storage/base.py", line 1048, in test_group_by_multiple_regular
'resource_id']))
TypeError: get_meter_statistics() got an unexpected keyword argument 'groupby'
======================================================================
FAIL: tests.storage.test_impl_sqlalchemy.StatisticsGroupByTest.test_group_by_project
tags: worker-1
----------------------------------------------------------------------
Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/opt/stack/ceilometer/tests/storage/base.py", line 989, in test_group_by_project
groupby=['project_id']))
TypeError: get_meter_statistics() got an unexpected keyword argument 'groupby'
======================================================================
FAIL: tests.storage.test_impl_sqlalchemy.StatisticsGroupByTest.test_group_by_user
tags: worker-1
----------------------------------------------------------------------
Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/opt/stack/ceilometer/tests/storage/base.py", line 925, in test_group_by_user
results = list(self.conn.get_meter_statistics(f, groupby=['user_id']))
TypeError: get_meter_statistics() got an unexpected keyword argument 'groupby'
======================================================================
FAIL: tests.storage.test_impl_sqlalchemy.StatisticsGroupByTest.test_group_by_with_query_filter
tags: worker-1
----------------------------------------------------------------------
Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/opt/stack/ceilometer/tests/storage/base.py", line 1086, in test_group_by_with_query_filter
results = list(self.conn.get_meter_statistics(f, groupby=['resource']))
TypeError: get_meter_statistics() got an unexpected keyword argument 'groupby'
======================================================================
FAIL: process-returncode
tags: worker-0
----------------------------------------------------------------------
Binary content:
traceback (test/plain; charset="utf8")
======================================================================
FAIL: process-returncode
tags: worker-1
----------------------------------------------------------------------
Binary content:
traceback (test/plain; charset="utf8")
Ran 482 (+252) tests in 14.689s (-1.488s)
FAILED (id=28, failures=16 (+7))
error: testr failed (1)
+ clean_exit
+ local error_code=1
+ rm -rf /tmp/CEILO-MONGODB-dmmMT
+ '[' 942 ']'
+ kill -9 942
+ return 1
ERROR: InvocationError: '/bin/bash -x /opt/stack/ceilometer/run-tests.sh storage'
py27 runtests: commands[1] | /opt/stack/ceilometer/tools/config/check_uptodate.sh
___________________________________ summary ____________________________________
ERROR: py27: commands failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment