Skip to content

Instantly share code, notes, and snippets.

@nati
Created March 30, 2016 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nati/8e75c36da7cbf2795cc1515ab362ecc9 to your computer and use it in GitHub Desktop.
Save nati/8e75c36da7cbf2795cc1515ab362ecc9 to your computer and use it in GitHub Desktop.
root@vagrant:/opt/contrail# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
root@vagrant:/opt/contrail# scons test
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
BuildInfoAction(["build/debug/config/common/buildinfo.py"], [])
./tools/generateds/generateDS.py -f -l py -o build/debug/discovery/client/discoveryclient/services -g service controller/src/schema/services.xsd
bash -c "set -o pipefail && cd build/debug/config/api-server && python setup.py run_tests 2>&1 | tee test.log"
running run_tests
Running `/opt/contrail/build/debug/config/api-server/../common/tests//tools/with_venv.sh python setup.py testr --testr-args='--subunit --concurrency 0 '`
Traceback (most recent call last):
File "/opt/contrail/build/debug/config/api-server/../common/tests//tools/colorizer.py", line 46, in <module>
import subunit
ImportError: No module named subunit
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'testr'
cat: .testrepository/next-stream: No such file or directory
scons: *** [build/debug/config/api-server/test.log] Error 1
scons: building terminated because of errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment