← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1329391] Re: Unexpected messages during running of runtests.sh

 

** Changed in: horizon
       Status: Fix Committed => 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/1329391

Title:
  Unexpected messages during running of runtests.sh

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Latest upstream master branch seems to have two distinct issues when
  ./runtests.sh is run.

  First is a series of HTTP connection errors timing out and slowing
  down the execution of the entire runtest suite -

  DEBUG:cinderclient.client:Connection refused: HTTPConnectionPool(host='public.nova.example.com', port=8776): Max retries exceeded with 
  url: /v1/os-quota-sets/1/defaults (Caused by <class 'socket.error'>: [Errno 110] Connection timed out)
  .INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): public.nova.example.com

  
  The second is a bunch of console debug messages and tracebacks that get printed out in the middle of the test suite - 

  Expected failure.
  Traceback (most recent call last):
    File "/opt/stack/horizon/openstack_dashboard/dashboards/project/instances/console.py", line 47, in get_console
      console = api_call(request, instance.id)
    File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__
      return mock_method(*params, **named_params)
    File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__
      raise expected_method._exception
  ClientException: Expected failure.
  Expected failure.
  Traceback (most recent call last):
    File "/opt/stack/horizon/openstack_dashboard/dashboards/project/instances/console.py", line 47, in get_console
      console = api_call(request, instance.id)
    File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__
      return mock_method(*params, **named_params)
    File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__
      raise expected_method._exception
  ClientException: Expected failure.
  ....Console type "FAKE" not supported.

  
  Both need to be fixed/removed/addressed to ensure ./runtests is run without added delay and console messages.
  It doesn't seem like there are any actual test failures or errors - just added delays and console messages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1329391/+subscriptions


References