shaifali

import cinder error

Sep 23rd, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.26 KB | None | 0 0
  1. from cinder import i18n
  2. ImportError: No module named cinder
  3. ======================================================================
  4. FAIL: tests.test_shell.ShellTest.test_help_on_subcommand_error
  5. tags: worker-0
  6. ----------------------------------------------------------------------
  7. Traceback (most recent call last):
  8. File "tests/test_shell.py", line 94, in test_help_on_subcommand_error
  9. self.assertRaises(exc.CommandError, shell, 'help bad')
  10. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
  11. self.assertThat(our_callable, matcher)
  12. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 431, in assertThat
  13. mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  14. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 481, in _matchHelper
  15. mismatch = matcher.match(matchee)
  16. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 108, in match
  17. mismatch = self.exception_matcher.match(exc_info)
  18. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 62, in match
  19. mismatch = matcher.match(matchee)
  20. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 412, in match
  21. reraise(*matchee)
  22. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 101, in match
  23. result = matchee()
  24. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 965, in __call__
  25. return self._callable_object(*self._args, **self._kwargs)
  26. File "tests/test_shell.py", line 75, in <lambda>
  27. shell = lambda cmd: _shell.main(cmd.split())
  28. File "glanceclient/shell.py", line 561, in main
  29. subcommand_parser = self.get_subcommand_parser(api_version)
  30. File "glanceclient/shell.py", line 287, in get_subcommand_parser
  31. submodule = utils.import_versioned_module(version, 'shell')
  32. File "glanceclient/common/utils.py", line 215, in import_versioned_module
  33. return importutils.import_module(module)
  34. File "glanceclient/openstack/common/importutils.py", line 57, in import_module
  35. __import__(import_str)
  36. File "glanceclient/v1/__init__.py", line 16, in <module>
  37. from glanceclient.v1.client import Client # noqa
  38. File "glanceclient/v1/client.py", line 18, in <module>
  39. from glanceclient.v1.image_members import ImageMemberManager
  40. File "glanceclient/v1/image_members.py", line 16, in <module>
  41. from glanceclient.openstack.common.apiclient import base
  42. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  43. from glanceclient.openstack.common.apiclient import exceptions
  44. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  45. from cinder import i18n
  46. ImportError: No module named cinder
  47. ======================================================================
  48. FAIL: tests.test_shell.ShellTest.test_help_unknown_command
  49. tags: worker-0
  50. ----------------------------------------------------------------------
  51. Traceback (most recent call last):
  52. File "tests/test_shell.py", line 85, in test_help_unknown_command
  53. self.assertRaises(exc.CommandError, shell.main, argstr.split())
  54. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
  55. self.assertThat(our_callable, matcher)
  56. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 431, in assertThat
  57. mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  58. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 481, in _matchHelper
  59. mismatch = matcher.match(matchee)
  60. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 108, in match
  61. mismatch = self.exception_matcher.match(exc_info)
  62. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 62, in match
  63. mismatch = matcher.match(matchee)
  64. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 412, in match
  65. reraise(*matchee)
  66. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 101, in match
  67. result = matchee()
  68. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 965, in __call__
  69. return self._callable_object(*self._args, **self._kwargs)
  70. File "glanceclient/shell.py", line 561, in main
  71. subcommand_parser = self.get_subcommand_parser(api_version)
  72. File "glanceclient/shell.py", line 287, in get_subcommand_parser
  73. submodule = utils.import_versioned_module(version, 'shell')
  74. File "glanceclient/common/utils.py", line 215, in import_versioned_module
  75. return importutils.import_module(module)
  76. File "glanceclient/openstack/common/importutils.py", line 57, in import_module
  77. __import__(import_str)
  78. File "glanceclient/v1/__init__.py", line 16, in <module>
  79. from glanceclient.v1.client import Client # noqa
  80. File "glanceclient/v1/client.py", line 18, in <module>
  81. from glanceclient.v1.image_members import ImageMemberManager
  82. File "glanceclient/v1/image_members.py", line 16, in <module>
  83. from glanceclient.openstack.common.apiclient import base
  84. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  85. from glanceclient.openstack.common.apiclient import exceptions
  86. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  87. from cinder import i18n
  88. ImportError: No module named cinder
  89. ======================================================================
  90. FAIL: tests.test_shell.ShellTest.test_no_auth_with_token_and_image_url_with_v1
  91. tags: worker-0
  92. ----------------------------------------------------------------------
  93. Traceback (most recent call last):
  94. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1193, in patched
  95. arg = patching.__enter__()
  96. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1252, in __enter__
  97. self.target = self.getter()
  98. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1414, in <lambda>
  99. getter = lambda: _importer(target)
  100. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1102, in _importer
  101. thing = _dot_lookup(thing, comp, import_path)
  102. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1091, in _dot_lookup
  103. __import__(import_path)
  104. File "glanceclient/v1/__init__.py", line 16, in <module>
  105. from glanceclient.v1.client import Client # noqa
  106. File "glanceclient/v1/client.py", line 18, in <module>
  107. from glanceclient.v1.image_members import ImageMemberManager
  108. File "glanceclient/v1/image_members.py", line 16, in <module>
  109. from glanceclient.openstack.common.apiclient import base
  110. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  111. from glanceclient.openstack.common.apiclient import exceptions
  112. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  113. from cinder import i18n
  114. ImportError: No module named cinder
  115. ======================================================================
  116. FAIL: tests.test_shell.ShellTestWithKeystoneV3Auth.test_api_discovery_failed_with_unversioned_auth_url
  117. tags: worker-0
  118. ----------------------------------------------------------------------
  119. Traceback (most recent call last):
  120. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched
  121. return func(*args, **keywargs)
  122. File "tests/test_shell.py", line 286, in test_api_discovery_failed_with_unversioned_auth_url
  123. self.assertRaises(exc.CommandError, glance_shell.main, args.split())
  124. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
  125. self.assertThat(our_callable, matcher)
  126. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 431, in assertThat
  127. mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  128. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 481, in _matchHelper
  129. mismatch = matcher.match(matchee)
  130. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 108, in match
  131. mismatch = self.exception_matcher.match(exc_info)
  132. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 62, in match
  133. mismatch = matcher.match(matchee)
  134. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 412, in match
  135. reraise(*matchee)
  136. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 101, in match
  137. result = matchee()
  138. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 965, in __call__
  139. return self._callable_object(*self._args, **self._kwargs)
  140. File "glanceclient/shell.py", line 561, in main
  141. subcommand_parser = self.get_subcommand_parser(api_version)
  142. File "glanceclient/shell.py", line 287, in get_subcommand_parser
  143. submodule = utils.import_versioned_module(version, 'shell')
  144. File "glanceclient/common/utils.py", line 215, in import_versioned_module
  145. return importutils.import_module(module)
  146. File "glanceclient/openstack/common/importutils.py", line 57, in import_module
  147. __import__(import_str)
  148. File "glanceclient/v1/__init__.py", line 16, in <module>
  149. from glanceclient.v1.client import Client # noqa
  150. File "glanceclient/v1/client.py", line 18, in <module>
  151. from glanceclient.v1.image_members import ImageMemberManager
  152. File "glanceclient/v1/image_members.py", line 16, in <module>
  153. from glanceclient.openstack.common.apiclient import base
  154. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  155. from glanceclient.openstack.common.apiclient import exceptions
  156. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  157. from cinder import i18n
  158. ImportError: No module named cinder
  159. ======================================================================
  160. FAIL: tests.test_shell.ShellTestWithKeystoneV3Auth.test_auth_plugin_invocation_with_unversioned_auth_url_with_v1
  161. tags: worker-0
  162. ----------------------------------------------------------------------
  163. Traceback (most recent call last):
  164. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1193, in patched
  165. arg = patching.__enter__()
  166. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1252, in __enter__
  167. self.target = self.getter()
  168. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1414, in <lambda>
  169. getter = lambda: _importer(target)
  170. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1102, in _importer
  171. thing = _dot_lookup(thing, comp, import_path)
  172. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1091, in _dot_lookup
  173. __import__(import_path)
  174. File "glanceclient/v1/__init__.py", line 16, in <module>
  175. from glanceclient.v1.client import Client # noqa
  176. File "glanceclient/v1/client.py", line 18, in <module>
  177. from glanceclient.v1.image_members import ImageMemberManager
  178. File "glanceclient/v1/image_members.py", line 16, in <module>
  179. from glanceclient.openstack.common.apiclient import base
  180. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  181. from glanceclient.openstack.common.apiclient import exceptions
  182. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  183. from cinder import i18n
  184. ImportError: No module named cinder
  185. ======================================================================
  186. FAIL: tests.test_shell.ShellTestWithKeystoneV3Auth.test_auth_plugin_invocation_with_v1
  187. tags: worker-0
  188. ----------------------------------------------------------------------
  189. Traceback (most recent call last):
  190. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1193, in patched
  191. arg = patching.__enter__()
  192. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1252, in __enter__
  193. self.target = self.getter()
  194. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1414, in <lambda>
  195. getter = lambda: _importer(target)
  196. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1102, in _importer
  197. thing = _dot_lookup(thing, comp, import_path)
  198. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1091, in _dot_lookup
  199. __import__(import_path)
  200. File "glanceclient/v1/__init__.py", line 16, in <module>
  201. from glanceclient.v1.client import Client # noqa
  202. File "glanceclient/v1/client.py", line 18, in <module>
  203. from glanceclient.v1.image_members import ImageMemberManager
  204. File "glanceclient/v1/image_members.py", line 16, in <module>
  205. from glanceclient.openstack.common.apiclient import base
  206. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  207. from glanceclient.openstack.common.apiclient import exceptions
  208. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  209. from cinder import i18n
  210. ImportError: No module named cinder
  211. ======================================================================
  212. FAIL: tests.test_shell.ShellTestWithKeystoneV3Auth.test_cert_and_key_args_interchangeable
  213. tags: worker-0
  214. ----------------------------------------------------------------------
  215. Traceback (most recent call last):
  216. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched
  217. return func(*args, **keywargs)
  218. File "tests/test_shell.py", line 116, in test_cert_and_key_args_interchangeable
  219. shell(args)
  220. File "tests/test_shell.py", line 75, in <lambda>
  221. shell = lambda cmd: _shell.main(cmd.split())
  222. File "glanceclient/shell.py", line 561, in main
  223. subcommand_parser = self.get_subcommand_parser(api_version)
  224. File "glanceclient/shell.py", line 287, in get_subcommand_parser
  225. submodule = utils.import_versioned_module(version, 'shell')
  226. File "glanceclient/common/utils.py", line 215, in import_versioned_module
  227. return importutils.import_module(module)
  228. File "glanceclient/openstack/common/importutils.py", line 57, in import_module
  229. __import__(import_str)
  230. File "glanceclient/v1/__init__.py", line 16, in <module>
  231. from glanceclient.v1.client import Client # noqa
  232. File "glanceclient/v1/client.py", line 18, in <module>
  233. from glanceclient.v1.image_members import ImageMemberManager
  234. File "glanceclient/v1/image_members.py", line 16, in <module>
  235. from glanceclient.openstack.common.apiclient import base
  236. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  237. from glanceclient.openstack.common.apiclient import exceptions
  238. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  239. from cinder import i18n
  240. ImportError: No module named cinder
  241. ======================================================================
  242. FAIL: tests.test_shell.ShellTestWithKeystoneV3Auth.test_help
  243. tags: worker-0
  244. ----------------------------------------------------------------------
  245. Traceback (most recent call last):
  246. File "tests/test_shell.py", line 90, in test_help
  247. actual = shell.main(argstr.split())
  248. File "glanceclient/shell.py", line 561, in main
  249. subcommand_parser = self.get_subcommand_parser(api_version)
  250. File "glanceclient/shell.py", line 287, in get_subcommand_parser
  251. submodule = utils.import_versioned_module(version, 'shell')
  252. File "glanceclient/common/utils.py", line 215, in import_versioned_module
  253. return importutils.import_module(module)
  254. File "glanceclient/openstack/common/importutils.py", line 57, in import_module
  255. __import__(import_str)
  256. File "glanceclient/v1/__init__.py", line 16, in <module>
  257. from glanceclient.v1.client import Client # noqa
  258. File "glanceclient/v1/client.py", line 18, in <module>
  259. from glanceclient.v1.image_members import ImageMemberManager
  260. File "glanceclient/v1/image_members.py", line 16, in <module>
  261. from glanceclient.openstack.common.apiclient import base
  262. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  263. from glanceclient.openstack.common.apiclient import exceptions
  264. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  265. from cinder import i18n
  266. ImportError: No module named cinder
  267. ======================================================================
  268. FAIL: tests.test_shell.ShellTestWithKeystoneV3Auth.test_help_on_subcommand_error
  269. tags: worker-0
  270. ----------------------------------------------------------------------
  271. Traceback (most recent call last):
  272. File "tests/test_shell.py", line 94, in test_help_on_subcommand_error
  273. self.assertRaises(exc.CommandError, shell, 'help bad')
  274. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
  275. self.assertThat(our_callable, matcher)
  276. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 431, in assertThat
  277. mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  278. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 481, in _matchHelper
  279. mismatch = matcher.match(matchee)
  280. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 108, in match
  281. mismatch = self.exception_matcher.match(exc_info)
  282. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 62, in match
  283. mismatch = matcher.match(matchee)
  284. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 412, in match
  285. reraise(*matchee)
  286. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 101, in match
  287. result = matchee()
  288. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 965, in __call__
  289. return self._callable_object(*self._args, **self._kwargs)
  290. File "tests/test_shell.py", line 75, in <lambda>
  291. shell = lambda cmd: _shell.main(cmd.split())
  292. File "glanceclient/shell.py", line 561, in main
  293. subcommand_parser = self.get_subcommand_parser(api_version)
  294. File "glanceclient/shell.py", line 287, in get_subcommand_parser
  295. submodule = utils.import_versioned_module(version, 'shell')
  296. File "glanceclient/common/utils.py", line 215, in import_versioned_module
  297. return importutils.import_module(module)
  298. File "glanceclient/openstack/common/importutils.py", line 57, in import_module
  299. __import__(import_str)
  300. File "glanceclient/v1/__init__.py", line 16, in <module>
  301. from glanceclient.v1.client import Client # noqa
  302. File "glanceclient/v1/client.py", line 18, in <module>
  303. from glanceclient.v1.image_members import ImageMemberManager
  304. File "glanceclient/v1/image_members.py", line 16, in <module>
  305. from glanceclient.openstack.common.apiclient import base
  306. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  307. from glanceclient.openstack.common.apiclient import exceptions
  308. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  309. from cinder import i18n
  310. ImportError: No module named cinder
  311. ======================================================================
  312. FAIL: tests.test_shell.ShellTestWithKeystoneV3Auth.test_help_unknown_command
  313. tags: worker-0
  314. ----------------------------------------------------------------------
  315. Traceback (most recent call last):
  316. File "tests/test_shell.py", line 85, in test_help_unknown_command
  317. self.assertRaises(exc.CommandError, shell.main, argstr.split())
  318. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
  319. self.assertThat(our_callable, matcher)
  320. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 431, in assertThat
  321. mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  322. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 481, in _matchHelper
  323. mismatch = matcher.match(matchee)
  324. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 108, in match
  325. mismatch = self.exception_matcher.match(exc_info)
  326. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 62, in match
  327. mismatch = matcher.match(matchee)
  328. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 412, inSchema is not a valid JSON object.
  329. No metadata definition namespace passed via stdin or --file argument.
  330. Schema is not a valid JSON object.
  331. Property MyProperty not found in object MyObject.
  332. Schema is not a valid JSON object.
  333. Schema is not a valid JSON object.
  334. Schema is not a valid JSON object.
  335. match
  336. reraise(*matchee)
  337. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 101, in match
  338. result = matchee()
  339. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 965, in __call__
  340. return self._callable_object(*self._args, **self._kwargs)
  341. File "glanceclient/shell.py", line 561, in main
  342. subcommand_parser = self.get_subcommand_parser(api_version)
  343. File "glanceclient/shell.py", line 287, in get_subcommand_parser
  344. submodule = utils.import_versioned_module(version, 'shell')
  345. File "glanceclient/common/utils.py", line 215, in import_versioned_module
  346. return importutils.import_module(module)
  347. File "glanceclient/openstack/common/importutils.py", line 57, in import_module
  348. __import__(import_str)
  349. File "glanceclient/v1/__init__.py", line 16, in <module>
  350. from glanceclient.v1.client import Client # noqa
  351. File "glanceclient/v1/client.py", line 18, in <module>
  352. from glanceclient.v1.image_members import ImageMemberManager
  353. File "glanceclient/v1/image_members.py", line 16, in <module>
  354. from glanceclient.openstack.common.apiclient import base
  355. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  356. from glanceclient.openstack.common.apiclient import exceptions
  357. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  358. from cinder import i18n
  359. ImportError: No module named cinder
  360. ======================================================================
  361. FAIL: tests.test_shell.ShellTestWithKeystoneV3Auth.test_no_auth_with_token_and_image_url_with_v1
  362. tags: worker-0
  363. ----------------------------------------------------------------------
  364. Traceback (most recent call last):
  365. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1193, in patched
  366. arg = patching.__enter__()
  367. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1252, in __enter__
  368. self.target = self.getter()
  369. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1414, in <lambda>
  370. getter = lambda: _importer(target)
  371. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1102, in _importer
  372. thing = _dot_lookup(thing, comp, import_path)
  373. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1091, in _dot_lookup
  374. __import__(import_path)
  375. File "glanceclient/v1/__init__.py", line 16, in <module>
  376. from glanceclient.v1.client import Client # noqa
  377. File "glanceclient/v1/client.py", line 18, in <module>
  378. from glanceclient.v1.image_members import ImageMemberManager
  379. File "glanceclient/v1/image_members.py", line 16, in <module>
  380. from glanceclient.openstack.common.apiclient import base
  381. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  382. from glanceclient.openstack.common.apiclient import exceptions
  383. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  384. from cinder import i18n
  385. ImportError: No module named cinder
  386. ======================================================================
  387. FAIL: unittest.loader.ModuleImportFailure.tests.test_base
  388. tags: worker-0
  389. ----------------------------------------------------------------------
  390. Traceback (most recent call last):
  391. ImportError: Failed to import test module: tests.test_base
  392. Traceback (most recent call last):
  393. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
  394. module = self._get_module_from_name(name)
  395. File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
  396. __import__(name)
  397. File "tests/test_base.py", line 19, in <module>
  398. from glanceclient.openstack.common.apiclient import base
  399. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  400. from glanceclient.openstack.common.apiclient import exceptions
  401. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  402. from cinder import i18n
  403. ImportError: No module named cinder
  404. ======================================================================
  405. FAIL: unittest.loader.ModuleImportFailure.tests.v1.test_client
  406. tags: worker-0
  407. ----------------------------------------------------------------------
  408. Traceback (most recent call last):
  409. ImportError: Failed to import test module: tests.v1.test_client
  410. Traceback (most recent call last):
  411. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
  412. module = self._get_module_from_name(name)
  413. File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
  414. __import__(name)
  415. File "tests/v1/test_client.py", line 18, in <module>
  416. from glanceclient.v1 import client
  417. File "glanceclient/v1/__init__.py", line 16, in <module>
  418. from glanceclient.v1.client import Client # noqa
  419. File "glanceclient/v1/client.py", line 18, in <module>
  420. from glanceclient.v1.image_members import ImageMemberManager
  421. File "glanceclient/v1/image_members.py", line 16, in <module>
  422. from glanceclient.openstack.common.apiclient import base
  423. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  424. from glanceclient.openstack.common.apiclient import exceptions
  425. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  426. from cinder import i18n
  427. ImportError: No module named cinder
  428. ======================================================================
  429. FAIL: unittest.loader.ModuleImportFailure.tests.v1.test_image_members
  430. tags: worker-0
  431. ----------------------------------------------------------------------
  432. Traceback (most recent call last):
  433. ImportError: Failed to import test module: tests.v1.test_image_members
  434. Traceback (most recent call last):
  435. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
  436. module = self._get_module_from_name(name)
  437. File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
  438. __import__(name)
  439. File "tests/v1/test_image_members.py", line 18, in <module>
  440. import glanceclient.v1.image_members
  441. File "glanceclient/v1/__init__.py", line 16, in <module>
  442. from glanceclient.v1.client import Client # noqa
  443. File "glanceclient/v1/client.py", line 18, in <module>
  444. from glanceclient.v1.image_members import ImageMemberManager
  445. File "glanceclient/v1/image_members.py", line 16, in <module>
  446. from glanceclient.openstack.common.apiclient import base
  447. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  448. from glanceclient.openstack.common.apiclient import exceptions
  449. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  450. from cinder import i18n
  451. ImportError: No module named cinder
  452. ======================================================================
  453. FAIL: unittest.loader.ModuleImportFailure.tests.v1.test_images
  454. tags: worker-0
  455. ----------------------------------------------------------------------
  456. Traceback (most recent call last):
  457. ImportError: Failed to import test module: tests.v1.test_images
  458. Traceback (most recent call last):
  459. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
  460. module = self._get_module_from_name(name)
  461. File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
  462. __import__(name)
  463. File "tests/v1/test_images.py", line 23, in <module>
  464. from glanceclient.v1 import client
  465. File "glanceclient/v1/__init__.py", line 16, in <module>
  466. from glanceclient.v1.client import Client # noqa
  467. File "glanceclient/v1/client.py", line 18, in <module>
  468. from glanceclient.v1.image_members import ImageMemberManager
  469. File "glanceclient/v1/image_members.py", line 16, in <module>
  470. from glanceclient.openstack.common.apiclient import base
  471. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  472. from glanceclient.openstack.common.apiclient import exceptions
  473. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  474. from cinder import i18n
  475. ImportError: No module named cinder
  476. ======================================================================
  477. FAIL: unittest.loader.ModuleImportFailure.tests.v1.test_shell
  478. tags: worker-0
  479. ----------------------------------------------------------------------
  480. Traceback (most recent call last):
  481. ImportError: Failed to import test module: tests.v1.test_shell
  482. Traceback (most recent call last):
  483. File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
  484. module = self._get_module_from_name(name)
  485. File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
  486. __import__(name)
  487. File "tests/v1/test_shell.py", line 30, in <module>
  488. import glanceclient.v1.client as client
  489. File "glanceclient/v1/__init__.py", line 16, in <module>
  490. from glanceclient.v1.client import Client # noqa
  491. File "glanceclient/v1/client.py", line 18, in <module>
  492. from glanceclient.v1.image_members import ImageMemberManager
  493. File "glanceclient/v1/image_members.py", line 16, in <module>
  494. from glanceclient.openstack.common.apiclient import base
  495. File "glanceclient/openstack/common/apiclient/base.py", line 32, in <module>
  496. from glanceclient.openstack.common.apiclient import exceptions
  497. File "glanceclient/openstack/common/apiclient/exceptions.py", line 29, in <module>
  498. from cinder import i18n
  499. ImportError: No module named cinder
  500. Ran 222 tests in 1.470s (-0.041s)
  501. FAILED (id=3, failures=20)
  502. error: testr failed (1)
  503. ERROR: InvocationError: '/opt/stack/python-glanceclient/.tox/py27/bin/python setup.py testr --testr-args='
  504. ___________________________________ summary ____________________________________
  505. ERROR: py27: commands failed
  506. openstack@ubuntu:/opt/stack/python-glanceclient$
Advertisement
Add Comment
Please, Sign In to add comment