run_tests.sh failed by "No module named tools" exception

Bug #1314007 reported by Zhi Yan Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Medium
Zhi Yan Liu

Bug Description

$ ./run_tests.sh
No virtual environment found...create one? (Y/n) y
Traceback (most recent call last):
  File "tools/install_venv.py", line 29, in <module>
    from tools import install_venv_common as install_venv
ImportError: No module named tools

Change "Enable H304 check" (I099ed65db9b42223eaa4b66a3a5c6113d1cc56fe) causes it.

Zhi Yan Liu (lzy-dev)
Changed in glance:
assignee: nobody → Zhi Yan Liu (lzy-dev)
milestone: none → juno-1
Changed in glance:
milestone: juno-1 → juno-2
Revision history for this message
Zhi Yan Liu (lzy-dev) wrote :

I'm wondering why my change doesn't like to here automatically: https://review.openstack.org/#/c/90888/ , actually it already wait to get review a while.

Changed in glance:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/90888
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=95d81a0b03703f47d457f26acecb36d7a10e66cb
Submitter: Jenkins
Branch: master

commit 95d81a0b03703f47d457f26acecb36d7a10e66cb
Author: Zhi Yan Liu <email address hidden>
Date: Tue Apr 29 13:11:13 2014 +0800

    To fixes import error for run_tests.sh

    Change-Id: Iacce978001750c9cb8f398dba78361dee22ed2fb
    Closes-bug: #1314007
    Signed-off-by: Zhi Yan Liu <email address hidden>

Changed in glance:
status: In Progress → Fix Committed
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: juno-2 → 2014.2
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.