nova-powervc/run_tests.sh doesn't work

Bug #1370712 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powervc-driver
New
Undecided
Unassigned

Bug Description

While making this change:

https://review.openstack.org/#/c/122211/

I tried running the run_tests.sh script for the nova-powervc code, was prompted to create a virtual environment and replied 'yes' and then it failed:

mriedem@ubuntu:~/git/powervc-driver$ cd nova-powervc/
mriedem@ubuntu:~/git/powervc-driver/nova-powervc$ ./run_tests.sh
No virtual environment found...create one? (Y/n) y
python: can't open file 'tools/install_venv.py': [Errno 2] No such file or directory
mriedem@ubuntu:~/git/powervc-driver/nova-powervc$

Revision history for this message
Terry Yao (yaohaif) wrote :

osadmin@openstackdevstack:~/git/powervc-driver/nova-powervc$ ./run_tests.sh
No virtual environment found...create one? (Y/n) n
......................................
----------------------------------------------------------------------
Ran 38 tests in 27.140s

OK
Running flake8 ...

if I select not creating the virtualenv, it can pass. I do not check this for a long time, need to look into it...I've asked someone else to look at that and write down a testing readiness to guide people to run unit test, but this work looks not done yet:
https://review.openstack.org/#/c/106614/

I need to push people to complete the work on this. Thanks for pointing out this.

Revision history for this message
Zhao Jian (jianzj) wrote :

Yeah , and I will finish the work as soon as possiable

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.