<div dir="ltr"><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:12.8000001907349px;background-color:rgb(240,247,255)">Hello,</span></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:12.8000001907349px;background-color:rgb(240,247,255)"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:12.8000001907349px;background-color:rgb(240,247,255)">I hit an exception while running glance unit test. It worked well previously (one week ago) and I guess this is because a version conflict came up recently. Could anyone give me some suggestions regarding the following issue?</span><br></div><div><br></div><div>Successfully installed Babel-2.0 Jinja2-2.8 Mako-1.0.1 MarkupSafe-0.23 MySQL-python-1.2.5 Paste-2.0.2 PasteDeploy-1.5.2 PrettyTable-0.7.2 PyYAML-3.11 Pygments-2.0.2 Routes-2.2 SQLAlchemy-0.9.10 Tempita-0.5.2 WSME-0.7.0 WebOb-1.4.1 aioeventlet-0.4 alembic-0.7.7 amqp-1.4.6 anyjson-0.3.3 argparse-1.2.1 cffi-1.1.2 coverage-3.7.1 cryptography-0.9.3 decorator-4.0.2 discover-0.4.0 docutils-0.12 elasticsearch-1.6.0 enum34-1.0.4 eventlet-0.17.4 extras-0.0.3 fixtures-1.3.1 flake8-2.2.4 funcsigs-0.4 functools32-3.2.3.post2 futures-3.0.3 glance-store-0.4.0 greenlet-0.4.7 hacking-0.10.2 httplib2-0.9.1 idna-2.0 ipaddress-1.0.14 iso8601-0.1.10 jsonschema-2.5.1 keystonemiddleware-1.5.2 kombu-3.0.26 linecache2-1.0.0 mccabe-0.2.1 mock-1.3.0 mox3-0.9.0 msgpack-python-0.4.6 netaddr-0.7.15 netifaces-0.10.4 networkx-1.10 ordereddict-1.1 oslo.concurrency-1.8.2 oslo.config-1.9.3 oslo.context-0.2.0 oslo.db-1.7.2 oslo.i18n-1.5.0 oslo.log-1.0.0 oslo.messaging-1.8.3 oslo.middleware-1.0.0 oslo.policy-0.3.2 oslo.serialization-1.4.0 oslo.utils-1.4.0 oslo.vmware-0.11.2 oslosphinx-2.5.0 oslotest-1.5.2 osprofiler-0.3.0 pbr-0.11.0 pep8-1.5.7 posix-ipc-1.0.0 psutil-1.2.1 psycopg2-2.6.1 pyOpenSSL-0.15.1 pyasn1-0.1.8 pycadf-0.8.0 pycparser-2.14 pycrypto-2.6.1 pyflakes-0.8.1 pysendfile-2.0.0 python-cinderclient-1.3.1 python-keystoneclient-1.3.2 python-mimeparse-0.1.4 python-subunit-1.1.0 python-swiftclient-2.4.0 pytz-2015.4 qpid-python-0.26 repoze.lru-0.6 requests-2.7.0 retrying-1.3.3 semantic-version-2.4.2 simplegeneric-0.8.1 simplejson-3.8.0 six-1.9.0 sphinx-1.2.3 sqlalchemy-migrate-0.9.7 sqlparse-0.1.16 stevedore-1.3.0 suds-0.4 taskflow-0.7.1 testrepository-0.0.20 testresources-0.2.7 testscenarios-0.5.0 testtools-1.8.0 traceback2-1.4.0 trollius-2.0 unittest2-1.1.0 urllib3-1.10.4 xattr-0.7.8</div><div>warning: no files found matching 'AUTHORS'</div><div>warning: no files found matching 'ChangeLog'</div><div>warning: no previously-included files matching '*.pyc' found anywhere in distribution</div><div>warning: no files found matching 'ChangeLog'</div><div>warning: no files found matching 'builddeb.sh'</div><div>warning: no files found matching 'AUTHORS'</div><div>warning: no files found matching 'run_tests.py'</div><div>warning: no files found matching 'ChangeLog'</div><div>ERROR:root:Error parsing</div><div>Traceback (most recent call last):</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/pbr/core.py", line 109, in pbr</div><div> attrs = util.cfg_to_args(path)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/pbr/util.py", line 245, in cfg_to_args</div><div> kwargs = setup_cfg_to_setup_kwargs(config)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/pbr/util.py", line 364, in setup_cfg_to_setup_kwargs</div><div> cmd = cls(dist)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/__init__.py", line 124, in __init__</div><div> _Command.__init__(self,dist)</div><div> File "/usr/lib/python2.7/distutils/cmd.py", line 59, in __init__</div><div> raise TypeError, "dist must be a Distribution instance"</div><div>TypeError: dist must be a Distribution instance</div><div>Traceback (most recent call last):</div><div> File "setup.py", line 30, in <module></div><div> pbr=True)</div><div> File "/usr/lib/python2.7/distutils/core.py", line 151, in setup</div><div> dist.run_commands()</div><div> File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands</div><div> self.run_command(cmd)</div><div> File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command</div><div> cmd_obj.run()</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/develop.py", line 32, in run</div><div> self.install_for_development()</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/develop.py", line 132, in install_for_development</div><div> self.process_distribution(None, self.dist, not self.no_deps)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 709, in process_distribution</div><div> [requirement], self.local_index, self.easy_install</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 836, in resolve</div><div> dist = best[req.key] = env.best_match(req, ws, installer)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1081, in best_match</div><div> return self.obtain(req, installer)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1093, in obtain</div><div> return installer(requirement)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 629, in easy_install</div><div> return self.install_item(spec, dist.location, tmpdir, deps)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 659, in install_item</div><div> dists = self.install_eggs(spec, download, tmpdir)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 842, in install_eggs</div><div> return self.build_and_install(setup_script, setup_base)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1070, in build_and_install</div><div> self.run_setup(setup_script, setup_base, args)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1056, in run_setup</div><div> run_setup(setup_script, args)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 240, in run_setup</div><div> raise</div><div> File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__</div><div> self.gen.throw(type, value, traceback)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 193, in setup_context</div><div> yield</div><div> File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__</div><div> self.gen.throw(type, value, traceback)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 152, in save_modules</div><div> yield saved</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 126, in __exit__</div><div> self._saved = UnpickleableException.dump(type, exc)</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div> File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div> return cls.dump(cls, cls(repr(exc)))</div><div>MemoryError</div><div>Command "/opt/stack/glance/.venv/bin/python setup.py develop" failed.</div><div>running develop</div><div>running egg_info</div><div>writing requirements to glance.egg-info/requires.txt</div><div>writing glance.egg-info/PKG-INFO</div><div>writing top-level names to glance.egg-info/top_level.txt</div><div>writing dependency_links to glance.egg-info/dependency_links.txt</div><div>writing entry points to glance.egg-info/entry_points.txt</div><div>writing pbr to glance.egg-info/pbr.json</div><div>[pbr] Processing SOURCES.txt</div><div>[pbr] In git context, generating filelist from git</div><div>reading manifest template 'MANIFEST.in'</div><div>writing manifest file 'glance.egg-info/SOURCES.txt'</div><div>running build_ext</div><div>Creating /opt/stack/glance/.venv/lib/python2.7/site-packages/glance.egg-link (link to .)</div><div>Adding glance 2015.1.0.0rc2 to easy-install.pth file</div><div>Installing glance-scrubber script to /opt/stack/glance/.venv/bin</div><div>Installing glance-cache-pruner script to /opt/stack/glance/.venv/bin</div><div>Installing glance-cache-cleaner script to /opt/stack/glance/.venv/bin</div><div>Installing glance-index script to /opt/stack/glance/.venv/bin</div><div>Installing glance-api script to /opt/stack/glance/.venv/bin</div><div>Installing glance-search script to /opt/stack/glance/.venv/bin</div><div>Installing glance-cache-prefetcher script to /opt/stack/glance/.venv/bin</div><div>Installing glance-replicator script to /opt/stack/glance/.venv/bin</div><div>Installing glance-cache-manage script to /opt/stack/glance/.venv/bin</div><div>Installing glance-manage script to /opt/stack/glance/.venv/bin</div><div>Installing glance-control script to /opt/stack/glance/.venv/bin</div><div>Installing glance-registry script to /opt/stack/glance/.venv/bin</div><div><br></div><div>Installed /opt/stack/glance</div><div>Processing dependencies for glance==2015.1.0.0rc2</div><div>Searching for fixtures<1.3.0,>=0.3.14</div><div>Reading <a href="https://pypi.python.org/simple/fixtures/">https://pypi.python.org/simple/fixtures/</a></div><div>Reading <a href="https://launchpad.net/python-fixtures">https://launchpad.net/python-fixtures</a></div><div>Best match: fixtures 1.2.0</div><div>Downloading <a href="https://pypi.python.org/packages/source/f/fixtures/fixtures-1.2.0.tar.gz#md5=9ab03b218bd1f05906b22ed5e78259cd">https://pypi.python.org/packages/source/f/fixtures/fixtures-1.2.0.tar.gz#md5=9ab03b218bd1f05906b22ed5e78259cd</a></div><div>Processing fixtures-1.2.0.tar.gz</div><div>Writing /tmp/easy_install-fuvXte/fixtures-1.2.0/setup.cfg</div><div>Running fixtures-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-fuvXte/fixtures-1.2.0/egg-dist-tmp-2brSYg</div><div><br></div><div>su@ubuntu:/opt/stack/glance$ </div><div><br></div><div><br></div><div>Thanks,</div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Su Zhang<br><br></div></div></div>
</div>