← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1378907] [NEW] Lots of text output in the unit test results

 

Public bug reported:

Running the unit tests on master with a fresh venv results in a ton of
noise. The tests don't fail but we should have a clean output.

Highlights include:

ConnectionFailed: Connection to neutron failed: ('Connection aborted.',
gaierror(-2, 'Name or service not known'))

  File "/home/jpichon/devel/horizon/horizon/exceptions.py", line 326, in handle
    raise Http302(redirect)
Http302

ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service
not known'))

Error while checking action permissions.
Traceback (most recent call last):
  File "/home/jpichon/devel/horizon/horizon/tables/base.py", line 1236, in _filter_action
    return action._allowed(request, datum) and row_matched
  File "/home/jpichon/devel/horizon/horizon/tables/actions.py", line 137, in _allowed
    return self.allowed(request, datum)
  File "/home/jpichon/devel/horizon/openstack_dashboard/dashboards/project/volumes/snapshots/tables.py", line 46, in allowed
    if (snapshot._volume and
  File "/home/jpichon/devel/horizon/openstack_dashboard/api/base.py", line 81, in __getattribute__
    return object.__getattribute__(self, attr)
AttributeError: 'VolumeSnapshot' object has no attribute '_volume'

DEBUG:cinderclient.client:Connection error: ('Connection aborted.',
gaierror(-2, 'Name or service not known'))

But there really is a lot...

This doesn't seem to be happening on the juno-rc1 tag.

** Affects: horizon
     Importance: Medium
         Status: New

-- 
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/1378907

Title:
  Lots of text output in the unit test results

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Running the unit tests on master with a fresh venv results in a ton of
  noise. The tests don't fail but we should have a clean output.

  Highlights include:

  ConnectionFailed: Connection to neutron failed: ('Connection
  aborted.', gaierror(-2, 'Name or service not known'))

    File "/home/jpichon/devel/horizon/horizon/exceptions.py", line 326, in handle
      raise Http302(redirect)
  Http302

  ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service
  not known'))

  Error while checking action permissions.
  Traceback (most recent call last):
    File "/home/jpichon/devel/horizon/horizon/tables/base.py", line 1236, in _filter_action
      return action._allowed(request, datum) and row_matched
    File "/home/jpichon/devel/horizon/horizon/tables/actions.py", line 137, in _allowed
      return self.allowed(request, datum)
    File "/home/jpichon/devel/horizon/openstack_dashboard/dashboards/project/volumes/snapshots/tables.py", line 46, in allowed
      if (snapshot._volume and
    File "/home/jpichon/devel/horizon/openstack_dashboard/api/base.py", line 81, in __getattribute__
      return object.__getattribute__(self, attr)
  AttributeError: 'VolumeSnapshot' object has no attribute '_volume'

  DEBUG:cinderclient.client:Connection error: ('Connection aborted.',
  gaierror(-2, 'Name or service not known'))

  But there really is a lot...

  This doesn't seem to be happening on the juno-rc1 tag.

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


Follow ups

References