yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #23911
[Bug 1383117] [NEW] ./run_tests.sh raises error for glance_store in debug mode
Public bug reported:
When we try to run glance_store test suit in debug mode it raises error
“ImportError: Start directory is not importable” with the following
stack trace
$ ./run_tests.sh -d
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/openstack/glance_store/glance_store/.venv/lib/python2.7/site-packages/testtools/run.py", line 535, in <module>
main(sys.argv, sys.stdout)
File "/home/openstack/glance_store/glance_store/.venv/lib/python2.7/site-packages/testtools/run.py", line 532, in main
stdout=stdout)
File "/home/openstack/glance_store/glance_store/.venv/lib/python2.7/site-packages/testtools/run.py", line 218, in __init__
self.parseArgs(argv)
File "/home/openstack/glance_store/glance_store/.venv/lib/python2.7/site-packages/testtools/run.py", line 257, in parseArgs
self._do_discovery(argv[2:])
File "/home/openstack/glance_store/glance_store/.venv/lib/python2.7/site-packages/testtools/run.py", line 376, in _do_discovery
loaded = loader.discover(start_dir, pattern, top_level_dir)
File "/usr/lib/python2.7/unittest/loader.py", line 204, in discover
raise ImportError('Start directory is not importable: %r' % start_dir)
ImportError: Start directory is not importable: './glance/tests'
** Affects: glance
Importance: Undecided
Assignee: Ankit Agrawal (ankitagrawal)
Status: New
** Tags: ntt
** Changed in: glance
Assignee: (unassigned) => Ankit Agrawal (ankitagrawal)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1383117
Title:
./run_tests.sh raises error for glance_store in debug mode
Status in OpenStack Image Registry and Delivery Service (Glance):
New
Bug description:
When we try to run glance_store test suit in debug mode it raises
error “ImportError: Start directory is not importable” with the
following stack trace
$ ./run_tests.sh -d
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/openstack/glance_store/glance_store/.venv/lib/python2.7/site-packages/testtools/run.py", line 535, in <module>
main(sys.argv, sys.stdout)
File "/home/openstack/glance_store/glance_store/.venv/lib/python2.7/site-packages/testtools/run.py", line 532, in main
stdout=stdout)
File "/home/openstack/glance_store/glance_store/.venv/lib/python2.7/site-packages/testtools/run.py", line 218, in __init__
self.parseArgs(argv)
File "/home/openstack/glance_store/glance_store/.venv/lib/python2.7/site-packages/testtools/run.py", line 257, in parseArgs
self._do_discovery(argv[2:])
File "/home/openstack/glance_store/glance_store/.venv/lib/python2.7/site-packages/testtools/run.py", line 376, in _do_discovery
loaded = loader.discover(start_dir, pattern, top_level_dir)
File "/usr/lib/python2.7/unittest/loader.py", line 204, in discover
raise ImportError('Start directory is not importable: %r' % start_dir)
ImportError: Start directory is not importable: './glance/tests'
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1383117/+subscriptions
Follow ups
References