Lots of text output in the unit test results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Akihiro Motoki |
Bug Description
----- UPDATED DESCRIPTION ----
After Ana's fix the only remaining noise that I see is this message:
DEBUG:cindercli
It just pops up in the middle of the tests. Apparently it can't be reproduced in all environments.
----- ORIGINAL DESCRIPTION BELOW -----
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/
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/
return action.
File "/home/
return self.allowed(
File "/home/
if (snapshot._volume and
File "/home/
return object.
AttributeError: 'VolumeSnapshot' object has no attribute '_volume'
DEBUG:cindercli
But there really is a lot...
This doesn't seem to be happening on the juno-rc1 tag.
Changed in horizon: | |
status: | New → Confirmed |
Changed in horizon: | |
assignee: | nobody → Gary W. Smith (gary-w-smith) |
Changed in horizon: | |
assignee: | Gary W. Smith (gary-w-smith) → nobody |
tags: | added: heisenbug |
description: | updated |
Changed in horizon: | |
milestone: | none → next |
milestone: | next → kilo-1 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | kilo-1 → 2015.1.0 |
As the description indicates, there are now lots of errors in the unit test output. git bisect identified that these were introduced in commits 0ee604c1 and aa930569, which are part of the implementation of blueprint detail-pages-ia. It appears that these changes cause different / additional apis to be invoked when rendering pages, which are not incorporated into the unit tests.