Barbican tests fail because of incomplete test dependencies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Fix Released
|
Undecided
|
Jeremy Liu |
Bug Description
In a brand new Ubuntu Server 14.04.2 installation:
0) prepare workstation as instructed in the quick start guide [1]
1) clone https:/
2) switch to its directory and run ./bin/barbican.sh install
3) barbican is installed, but tests fail.
[1] https:/
<snip>
Successfully installed barbican
Cleaning up...
running testr
running=
OS_STDERR_
${PYTHON:-python} -m subunit.run discover -s ./barbican -t .
=======
FAIL: barbican.
tags: worker-0
-------
Traceback (most recent call last):
File "barbican/
queue.
File "barbican/
TRANSPORT = messaging.
File "/usr/local/
invoke_
File "/usr/local/
verify_
File "/usr/local/
verify_
File "/usr/local/
self.
File "/usr/local/
raise err
ImportError: No module named anyjson
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
</snip>
This message is shown since anyjson was not installed (missing in test-requiremen
There are 4 missing dependencies:
1) webtest
2) greenlet
3) amqp
4) anyjson
Attached is a patch that adds the missing requirements with the latest version available.
Changed in barbican: | |
status: | New → In Progress |
Changed in barbican: | |
status: | In Progress → New |
Changed in barbican: | |
assignee: | Everardo Padilla Saca (everardo-padilla-saca) → Alexis Rivera (garivera89) |
Changed in barbican: | |
assignee: | Alexis Rivera (garivera89) → nobody |
Changed in barbican: | |
assignee: | nobody → Nithya Renganathan (narengan) |
Changed in barbican: | |
assignee: | Nithya Renganathan (narengan) → liujiong (liujiong) |
Hi Everado, thank you for the patch. Unfortunately we don't accept diff patches via Launchpad. Please submit your changes via Gerrit as described in this wiki entry:
https:/ /wiki.openstack .org/wiki/ Gerrit_ Workflow