Skip to content

Instantly share code, notes, and snippets.

View mriedem's full-sized avatar

Matt Riedemann mriedem

View GitHub Profile
==============================
Failed 1 tests - output below:
==============================
nova.tests.db.test_db_api.SecurityGroupTestCase.test_security_group_ensure_default_called_concurrently
------------------------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
+ /usr/bin/neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head
INFO [alembic.migration] Context impl IbmDbImpl.
INFO [alembic.migration] Will assume transactional DDL.
INFO [alembic.migration] Running upgrade None -> havana, havana_initial
INFO [alembic.migration] Running upgrade havana -> e197124d4b9, add unique constraint to members
INFO [alembic.migration] Running upgrade e197124d4b9 -> 1fcfc149aca4, Add a unique constraint on (agent_type, host) columns to prevent a race
condition when an agent entry is 'upserted'.
INFO [alembic.migration] Running upgrade 1fcfc149aca4 -> 50e86cb2637a, nsx_mappings
INFO [alembic.migration] Running upgrade 50e86cb2637a -> 1421183d533f, NSX DHCP/metadata support
INFO [alembic.migration] Running upgrade 1421183d533f -> 3d3cb89d84ee, nsx_switch_mappings
2014-09-30 13:06:57.995 29922 DEBUG stevedore.extension [req-f4066a75-f025-4d76-8760-eaf005fec332 ] found extension EntryPoint.parse('file = nova.image.download.file') _load_plugins /usr/lib/python2.6/site-packages/stevedore/extension.py:156
2014-09-30 13:06:57.996 29922 DEBUG stevedore.extension [req-f4066a75-f025-4d76-8760-eaf005fec332 ] found extension EntryPoint.parse('file = nova.image.download.file') _load_plugins /usr/lib/python2.6/site-packages/stevedore/extension.py:156
2014-09-30 13:06:57.998 29922 DEBUG glanceclient.common.http [req-f4066a75-f025-4d76-8760-eaf005fec332 ] curl -i -X PUT -H 'X-Auth-Token: ***' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' http://192.168.4.5:9292http://192.168.4.5:9292//v1/images/82034c29-f8db-4203-b934-d254899374b1 log_curl_request /usr/lib/python2.6/site-packages/glanceclient/common/http.py:100
2014-09-30 13:06:58.000 29922 DEBUG nova.compute.manager [req-f4066a75-f025-4d76-8760-eaf005fec332 None] [instance: b888268d-8f9d-
Python 2.7.3 (default, Sep 26 2013, 20:08:41)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urlparse
>>> path = "ws://127.0.0.1/?token=123-456-789"
>>> if hasattr(urlparse, 'uses_fragment'):
... urlparse.uses_fragment.extend(['ws', 'wss'])
...
>>> query = urlparse.urlparse(path).query
>>> query
mriedem@ubuntu:/opt/stack/nova$ python
Python 2.7.3 (default, Sep 26 2013, 20:08:41)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urlparse
>>> path = "ws://127.0.0.1/?token=123-456-789"
>>> if hasattr(urlparse, 'uses_query'):
... urlparse.uses_query.extend(['ws', 'wss'])
...
>>> urlparse.urlparse(path)
https://review.openstack.org/changes/?q=status:open++message:1375962+NOT+project:openstack-infra/elastic-recheck
)]}'
[
{
"kind": "gerritcodereview#change",
"id": "openstack%2Fneutron~master~Ib4c02061b29c0d584d603746a78ab50922f781c3",
"project": "openstack/neutron",
"branch": "master",
"topic": "bug/1375698",
mriedem@ubuntu:~/git/nova$ TRACE_FAILONLY=True tox -e py27 -- nova.tests.virt.libvirt.test_driver
py27 develop-inst-nodeps: /home/mriedem/git/nova
py27 runtests: PYTHONHASHSEED='0'
py27 runtests: commands[0] | find . -type f -name *.pyc -delete
WARNING:test command found but not installed in testenv
cmd: /usr/bin/find
env: /home/mriedem/git/nova/.tox/py27
Maybe forgot to specify a dependency?
py27 runtests: commands[1] | bash tools/pretty_tox.sh nova.tests.virt.libvirt.test_driver
WARNING:test command found but not installed in testenv
overs = []
for res, delta in deltas.items():
# We can't go over-quota if we're not reserving anything.
if delta >= 0:
# Now determine which quotas we care about for the resource.
if res in PER_PROJECT_QUOTAS:
quotas = project_quotas
usages = project_usages
else:
quotas = user_quotas
Slowest Tests
Test id Runtime (s)
--------------------------------------------------------------------------------------------------------------------- -----------
nova.tests.unit.integrated.test_servers.ServersTest.test_create_multiple_servers 50.704
nova.tests.unit.integrated.test_servers.ServersTestV3.test_create_multiple_servers 49.419
nova.tests.unit.integrated.v3.test_servers.ServersActionsJsonTest.test_server_revert_resize 45.755
nova.tests.unit.integrated.v3.test_multiple_create.MultipleCreateJsonTest.test_multiple_create_without_reservation_id 43.908
nova.tests.unit.integrated.v3.test_servers.ServersActionsJsonTest.test_server_resize 43.142
nova.tests.unit.integrated.v3.test_multiple_create.MultipleCreateJsonTest.test_multiple_create
Slowest Tests
Test id Runtime (s)
-------------------------------------------------------------------------------------------- -----------
nova.tests.unit.api.ec2.test_api.ApiEc2TestCase.test_authorize_revoke_security_group_cidr 50.738
nova.tests.unit.api.ec2.test_api.ApiEc2TestCase.test_authorize_revoke_security_group_cidr_v6 48.731
nova.tests.unit.api.ec2.test_cloud.CloudTestCase.test_instance_initiated_shutdown_behavior 17.699
nova.tests.unit.db.test_migrations.TestNovaMigrationsSQLite.test_walk_versions 9.423