[openstack-dev] neutron unittests hang in OL6/py26
Bhuvan Arumugam
bhuvan at apache.org
Thu Oct 10 16:41:26 UTC 2013
Hello,
Test environment:
Neutron version: 2014.1.a61.gc7db907
Python version: v2.6 (we could replicate this issue with v2.7 as well)
OS: Oracle Linux 6.3
No of CPUs: 1
No of testr workers: 1
pip freeze: refer to bottom of email
pip index: http://pypi.openstack.org/openstack
We are unable to execute neutron unittests. It is very slow to execute each
test and never complete. Anyone here use Openstack in identical environment
and face similar issues.
This is tracked in https://bugs.launchpad.net/neutron/+bug/1234857. The
workaround proposed in this bug to mock.patch
FixedIntervalLoopingCalldoesn't help. If you are interested to take a
peek, here is the testr
output.
http://livecipher.com/testr-1234857.log.gz
If you analyze the testr output, the tests started at 2013-10-08 20:42:45
and until 2013-10-08 23:43:09 (3hrs), it had executed only 4730 tests. If I
let it run, it never complete. It takes over 10mins for each test,
randomly. None of the tests had failed though. Note: as per testr output,
the last test neutron.tests.unit.nec.test_security_group.TestNecSecurityGroups.test_delete_default_security_group_admin
had failed, because I terminated tox.
For instance, neutron.tests.unit.nec.test_security_group.TestNecSecurityGroups.test_create_security_group_rule_ethertype_invalid_as_number
had taken 12mins, as per above testr output (23:23 - 23;35). However, if I
run this test or similar tests manually, it is executed within few seconds.
The pip list (pip freeze) is identical to upstream gate job. If you haven't
faced this issue in your environment, any suggestion to debug this issue
would be helpful.
Babel==1.3 Jinja2==2.7.1 Mako==0.9.0 MarkupSafe==0.18 Paste==1.7.5.1
PasteDeploy==1.5.0 Pygments==1.6 Routes==1.13 SQLAlchemy==0.7.10
Sphinx==1.2b3 WebOb==1.2.3 WebTest==2.0.6 alembic==0.6.0 amqp==1.0.13
amqplib==1.0.2 anyjson==0.3.3 argparse==1.2.1 beautifulsoup4==4.3.2
cliff==1.4.5 cmd2==0.6.7 configobj==4.7.2 coverage==3.7 discover==0.4.0
docutils==0.11 eventlet==0.14.0 extras==0.0.3 fixtures==0.3.14 flake8==2.0
greenlet==0.4.1 hacking==0.7.2 httplib2==0.8 importlib==1.0.2
iso8601==0.1.4 jsonrpclib==0.1.3 kombu==2.5.15 mccabe==0.2.1 mock==1.0.1
mox==0.5.3 netaddr==0.7.10 neutron==2014.1.a61.gc7db907 ordereddict==1.1
oslo.config==1.2.1 pbr==0.5.21 pep8==1.4.5 prettytable==0.7.2
pyflakes==0.7.3 pyparsing==2.0.1 python-keystoneclient==0.3.2
python-mimeparse==0.1.4 python-neutronclient==2.3.1
python-novaclient==2.15.0 python-subunit==0.0.15 pytz==2013.7
pyudev==0.16.1 repoze.lru==0.6 requests==2.0.0 setuptools-git==1.0
simplejson==3.3.1 six==1.4.1 stevedore==0.12 testrepository==0.0.17
testtools==0.9.32 waitress==0.8.5
--
Regards,
Bhuvan Arumugam
www.livecipher.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131010/7db696d4/attachment.html>
More information about the OpenStack-dev
mailing list