Reviewed: https://review.openstack.org/284102 Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=0492c7189d5985527ae3fd761e137defd8805ee5 Submitter: Jenkins Branch: master
commit 0492c7189d5985527ae3fd761e137defd8805ee5 Author: Matthias Runge <mru...@redhat.com> Date: Wed Feb 24 13:06:09 2016 +0100 properly mock cinderclient calls in tests Change-Id: I905920ebe191ad42f1b2b8bbb2db4be1ec4fdc86 Closes-Bug: #1538215 ** Changed in: horizon Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1538215 Title: cinderclient traces in tests output Status in OpenStack Dashboard (Horizon): Fix Released Bug description: with current master checkout: nosetests openstack_dashboard --nocapture --nologcapture --cover-package=openstack_dashboard --cover-inclusive --all-modules --exclude-dir=openstack_dashboard/test/integration_tests --verbosity=1 Creating test database for alias 'default'... .............................................................................................................................................................................................................................DEBUG:cinderclient.client:Connection error: HTTPConnectionPool(host='public.nova.example.com', port=8776): Max retries exceeded with url: /v2/snapshots/detail?all_tenants=True (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f33a4ab0cd0>: Failed to establish a new connection: [Errno -5] No address associated with hostname',)) DEBUG:cinderclient.client:Connection error: HTTPConnectionPool(host='public.nova.example.com', port=8776): Max retries exceeded with url: /v2/snapshots/detail?all_tenants=True (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f33a46d4e50>: Failed to establish a new connection: [Errno -5] No address associated with hostname',)) DEBUG:cinderclient.client:Connection error: HTTPConnectionPool(host='public.nova.example.com', port=8776): Max retries exceeded with url: /v2/snapshots/detail?all_tenants=True (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f33a4a3f510>: Failed to establish a new connection: [Errno -5] No address associated with hostname',)) .DEBUG:cinderclient.client:Connection error: HTTPConnectionPool(host='public.nova.example.com', port=8776): Max retries exceeded with url: /v2/snapshots/detail?all_tenants=True (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f33a4abfd50>: Failed to establish a new connection: [Errno -5] No address associated with hostname',)) DEBUG:cinderclient.client:Connection error: HTTPConnectionPool(host='public.nova.example.com', port=8776): Max retries exceeded with url: /v2/snapshots/detail?all_tenants=True (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f33a4804190>: Failed to establish a new connection: [Errno -5] No address associated with hostname',)) ................................................DEBUG:oslo_policy._cache_handler:Reloading cached file /home/mrunge/work/horizon/openstack_dashboard/conf/nova_policy.json DEBUG:oslo_policy.policy:Reloaded policy file: /home/mrunge/work/horizon/openstack_dashboard/conf/nova_policy.json DEBUG:oslo_policy._cache_handler:Reloading cached file /home/mrunge/work/horizon/openstack_dashboard/conf/keystone_policy.json DEBUG:oslo_policy.policy:Reloaded policy file: /home/mrunge/work/horizon/openstack_dashboard/conf/keystone_policy.json ............................................................................^C...^C ---------------------------------------------------------------------- Ran 350 tests in 42.373s OK This was introduced by https://github.com/openstack/horizon/commit/8065be8975d496f9f6a175d3f9f058b38e0e504a To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1538215/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp