<div dir="ltr"><div style="font-size:12.8000001907349px"><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 style="font-size:12.8000001907349px"><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 style="font-size:12.8000001907349px"><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 style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">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 style="font-size:12.8000001907349px">warning: no files found matching 'AUTHORS'</div><div style="font-size:12.8000001907349px">warning: no files found matching 'ChangeLog'</div><div style="font-size:12.8000001907349px">warning: no previously-included files matching '*.pyc' found anywhere in distribution</div><div style="font-size:12.8000001907349px">warning: no files found matching 'ChangeLog'</div><div style="font-size:12.8000001907349px">warning: no files found matching 'builddeb.sh'</div><div style="font-size:12.8000001907349px">warning: no files found matching 'AUTHORS'</div><div style="font-size:12.8000001907349px">warning: no files found matching 'run_tests.py'</div><div style="font-size:12.8000001907349px">warning: no files found matching 'ChangeLog'</div><div style="font-size:12.8000001907349px">ERROR:root:Error parsing</div><div style="font-size:12.8000001907349px">Traceback (most recent call last):</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/pbr/core.py", line 109, in pbr</div><div style="font-size:12.8000001907349px">    attrs = util.cfg_to_args(path)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/pbr/util.py", line 245, in cfg_to_args</div><div style="font-size:12.8000001907349px">    kwargs = setup_cfg_to_setup_kwargs(config)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/pbr/util.py", line 364, in setup_cfg_to_setup_kwargs</div><div style="font-size:12.8000001907349px">    cmd = cls(dist)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/__init__.py", line 124, in __init__</div><div style="font-size:12.8000001907349px">    _Command.__init__(self,dist)</div><div style="font-size:12.8000001907349px">  File "/usr/lib/python2.7/distutils/cmd.py", line 59, in __init__</div><div style="font-size:12.8000001907349px">    raise TypeError, "dist must be a Distribution instance"</div><div style="font-size:12.8000001907349px">TypeError: dist must be a Distribution instance</div><div style="font-size:12.8000001907349px">Traceback (most recent call last):</div><div style="font-size:12.8000001907349px">  File "setup.py", line 30, in <module></div><div style="font-size:12.8000001907349px">    pbr=True)</div><div style="font-size:12.8000001907349px">  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup</div><div style="font-size:12.8000001907349px">    dist.run_commands()</div><div style="font-size:12.8000001907349px">  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands</div><div style="font-size:12.8000001907349px">    self.run_command(cmd)</div><div style="font-size:12.8000001907349px">  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command</div><div style="font-size:12.8000001907349px">    cmd_obj.run()</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/develop.py", line 32, in run</div><div style="font-size:12.8000001907349px">    self.install_for_development()</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/develop.py", line 132, in install_for_development</div><div style="font-size:12.8000001907349px">    self.process_distribution(None, self.dist, not self.no_deps)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 709, in process_distribution</div><div style="font-size:12.8000001907349px">    [requirement], self.local_index, self.easy_install</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 836, in resolve</div><div style="font-size:12.8000001907349px">    dist = best[req.key] = env.best_match(req, ws, installer)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1081, in best_match</div><div style="font-size:12.8000001907349px">    return self.obtain(req, installer)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1093, in obtain</div><div style="font-size:12.8000001907349px">    return installer(requirement)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 629, in easy_install</div><div style="font-size:12.8000001907349px">    return self.install_item(spec, dist.location, tmpdir, deps)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 659, in install_item</div><div style="font-size:12.8000001907349px">    dists = self.install_eggs(spec, download, tmpdir)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 842, in install_eggs</div><div style="font-size:12.8000001907349px">    return self.build_and_install(setup_script, setup_base)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1070, in build_and_install</div><div style="font-size:12.8000001907349px">    self.run_setup(setup_script, setup_base, args)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1056, in run_setup</div><div style="font-size:12.8000001907349px">    run_setup(setup_script, args)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 240, in run_setup</div><div style="font-size:12.8000001907349px">    raise</div><div style="font-size:12.8000001907349px">  File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__</div><div style="font-size:12.8000001907349px">    self.gen.throw(type, value, traceback)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 193, in setup_context</div><div style="font-size:12.8000001907349px">    yield</div><div style="font-size:12.8000001907349px">  File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__</div><div style="font-size:12.8000001907349px">    self.gen.throw(type, value, traceback)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 152, in save_modules</div><div style="font-size:12.8000001907349px">    yield saved</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 126, in __exit__</div><div style="font-size:12.8000001907349px">    self._saved = UnpickleableException.dump(type, exc)</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">  File "/opt/stack/glance/.venv/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 110, in dump</div><div style="font-size:12.8000001907349px">    return cls.dump(cls, cls(repr(exc)))</div><div style="font-size:12.8000001907349px">MemoryError</div><div style="font-size:12.8000001907349px">Command "/opt/stack/glance/.venv/bin/python setup.py develop" failed.</div><div style="font-size:12.8000001907349px">running develop</div><div style="font-size:12.8000001907349px">running egg_info</div><div style="font-size:12.8000001907349px">writing requirements to glance.egg-info/requires.txt</div><div style="font-size:12.8000001907349px">writing glance.egg-info/PKG-INFO</div><div style="font-size:12.8000001907349px">writing top-level names to glance.egg-info/top_level.txt</div><div style="font-size:12.8000001907349px">writing dependency_links to glance.egg-info/dependency_links.txt</div><div style="font-size:12.8000001907349px">writing entry points to glance.egg-info/entry_points.txt</div><div style="font-size:12.8000001907349px">writing pbr to glance.egg-info/pbr.json</div><div style="font-size:12.8000001907349px">[pbr] Processing SOURCES.txt</div><div style="font-size:12.8000001907349px">[pbr] In git context, generating filelist from git</div><div style="font-size:12.8000001907349px">reading manifest template 'MANIFEST.in'</div><div style="font-size:12.8000001907349px">writing manifest file 'glance.egg-info/SOURCES.txt'</div><div style="font-size:12.8000001907349px">running build_ext</div><div style="font-size:12.8000001907349px">Creating /opt/stack/glance/.venv/lib/python2.7/site-packages/glance.egg-link (link to .)</div><div style="font-size:12.8000001907349px">Adding glance 2015.1.0.0rc2 to easy-install.pth file</div><div style="font-size:12.8000001907349px">Installing glance-scrubber script to /opt/stack/glance/.venv/bin</div><div style="font-size:12.8000001907349px">Installing glance-cache-pruner script to /opt/stack/glance/.venv/bin</div><div style="font-size:12.8000001907349px">Installing glance-cache-cleaner script to /opt/stack/glance/.venv/bin</div><div style="font-size:12.8000001907349px">Installing glance-index script to /opt/stack/glance/.venv/bin</div><div style="font-size:12.8000001907349px">Installing glance-api script to /opt/stack/glance/.venv/bin</div><div style="font-size:12.8000001907349px">Installing glance-search script to /opt/stack/glance/.venv/bin</div><div style="font-size:12.8000001907349px">Installing glance-cache-prefetcher script to /opt/stack/glance/.venv/bin</div><div style="font-size:12.8000001907349px">Installing glance-replicator script to /opt/stack/glance/.venv/bin</div><div style="font-size:12.8000001907349px">Installing glance-cache-manage script to /opt/stack/glance/.venv/bin</div><div style="font-size:12.8000001907349px">Installing glance-manage script to /opt/stack/glance/.venv/bin</div><div style="font-size:12.8000001907349px">Installing glance-control script to /opt/stack/glance/.venv/bin</div><div style="font-size:12.8000001907349px">Installing glance-registry script to /opt/stack/glance/.venv/bin</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Installed /opt/stack/glance</div><div style="font-size:12.8000001907349px">Processing dependencies for glance==2015.1.0.0rc2</div><div style="font-size:12.8000001907349px">Searching for fixtures<1.3.0,>=0.3.14</div><div style="font-size:12.8000001907349px">Reading <a href="https://pypi.python.org/simple/fixtures/" target="_blank">https://pypi.python.org/simple/fixtures/</a></div><div style="font-size:12.8000001907349px">Reading <a href="https://launchpad.net/python-fixtures" target="_blank">https://launchpad.net/python-fixtures</a></div><div style="font-size:12.8000001907349px">Best match: fixtures 1.2.0</div><div style="font-size:12.8000001907349px">Downloading <a href="https://pypi.python.org/packages/source/f/fixtures/fixtures-1.2.0.tar.gz#md5=9ab03b218bd1f05906b22ed5e78259cd" target="_blank">https://pypi.python.org/packages/source/f/fixtures/fixtures-1.2.0.tar.gz#md5=9ab03b218bd1f05906b22ed5e78259cd</a></div><div style="font-size:12.8000001907349px">Processing fixtures-1.2.0.tar.gz</div><div style="font-size:12.8000001907349px">Writing /tmp/easy_install-fuvXte/fixtures-1.2.0/setup.cfg</div><div style="font-size:12.8000001907349px">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 style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">su@ubuntu:/opt/stack/glance$ </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Thanks,</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Su Zhang<br><br></div></div></div>
</div>