run_test.sh produces no output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Joseph Heck |
Bug Description
nosetest runs fine.
run_test.sh does the build of the venv, but then provides no output.
I think that it is actually running the tests, just swallowing the output.
running with -x set in the bash line:
[ayoung@ayoung530 keystone]$ time ./run_tests.sh
+ set -eu
+ venv=.venv
+ with_venv=
+ always_venv=0
+ never_venv=0
+ force=0
+ noseargs=
+ noseopts=
+ wrapper=
+ just_pep8=0
+ no_pep8=0
+ coverage=0
+ nokeystoneclient=0
+ recreate_db=1
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 1 ']'
+ NOSETESTS=
+ '[' 0 -eq 0 ']'
+ '[' 0 -eq 1 ']'
+ '[' -e .venv ']'
+ '[' 0 -eq 1 ']'
+ echo -e 'No virtual environment found...create one? (Y/n) \c'
No virtual environment found...create one? (Y/n) + read use_ve
n
+ '[' xn = xY -o xn = x -o xn = xy ']'
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ rm -f tests.sqlite
+ run_tests
+ nosetests
real 0m38.502s
user 0m30.031s
sys 0m2.430s
Nosetests runs with output of:
Ran 65 tests in 0.868s
So I think it is actually running the tests, but producing no output.
Changed in keystone: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in keystone: | |
milestone: | none → grizzly-1 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | grizzly-1 → 2013.1 |
interesting - tox is definitely showing the output, but I get the same results when I used ./run-tests.sh from the command-line. It was dumping the output in run_tests.log