[openstack-dev] [networking-sfc] patch test failed due to "import error: vlanmanager"

Vikash Kumar vikash.kumar at oneconvergence.com
Wed Mar 8 05:41:24 UTC 2017


Hi Igor,

   This is weird. I just did a fresh clone and executed *"tox" *command. I
am getting same error. Am I missing anything here ? There is no private
change here.  Below is the link for entire log.

     http://paste.openstack.org/show/601870/

On Tue, Mar 7, 2017 at 10:46 PM, Duarte Cardoso, Igor <
igor.duarte.cardoso at intel.com> wrote:

> Hi Vikash,
>
> Please stick to pastebin for complete logs.
>
>
>
> Check your migration files:
>
>
>
> FAILED: Contract HEAD file does not match migration timeline head,
> expected: 48072cb59133
>
>
>
> Best regards,
>
> Igor.
>
>
>
> *From:* Vikash Kumar [mailto:vikash.kumar at oneconvergence.com]
> *Sent:* Tuesday, March 7, 2017 5:03 PM
> *To:* openstack-dev <openstack-dev at lists.openstack.org>
> *Subject:* Re: [openstack-dev] [networking-sfc] patch test failed due to
> "import error: vlanmanager"
>
>
>
> Complete log:
>
>  py35 create: /home/vikash/guess_vk/python-dev/networking-sfc/.tox/py35
> py35 installdeps: -r/home/vikash/guess_vk/python-dev/networking-sfc/requirements.txt,
> -r/home/vikash/guess_vk/python-dev/networking-sfc/test-requirements.txt
> py35 develop-inst: /home/vikash/guess_vk/python-dev/networking-sfc
> py35 installed: /home/vikash/guess_vk/python-dev/networking-sfc/.tox/py35/lib/python3.5/site.py:165:
> DeprecationWarning: 'U' mode is deprecated,  f = open(fullname,
> "rU"),alabaster==0.7.10,alembic==0.9.1,amqp==1.4.9,
> anyjson==0.3.3,appdirs==1.4.2,astroid==1.3.8,Babel==2.3.4,
> beautifulsoup4==4.5.3,cachetools==2.0.0,cffi==1.9.1,
> cliff==2.4.0,cmd2==0.7.0,contextlib2==0.5.4,coverage==
> 4.3.4,cryptography==1.7.2,debtcollector==1.12.0,
> decorator==4.0.11,docutils==0.13.1,dulwich==0.17.1,eventlet=
> =0.19.0,extras==1.0.0,fasteners==0.14.1,fixtures==3.
> 0.0,flake8==2.5.5,futurist==0.21.0,greenlet==0.4.12,hacking=
> =0.12.0,httplib2==0.10.3,idna==2.4,imagesize==0.7.1,iso8601=
> =0.1.11,Jinja2==2.9.5,jsonpatch==1.15,jsonpointer==1.10,jsonschema==2.6.0,
> keystoneauth1==2.18.0,keystonemiddleware==4.14.0,
> kombu==3.0.37,linecache2==1.0.0,logilab-common==1.3.0,
> logutils==0.3.4.1,Mako==1.0.6,MarkupSafe==0.23,mccabe==0.2.
> 1,mock==2.0.0,monotonic==1.2,mox3==0.20.0,msgpack-python==
> 0.4.8,netaddr==0.7.19,netifaces==0.10.5,-e git+https://github.com/
> openstack/networking-sfc.git at c51052e3748e917731f449b0ff4dc2
> 0d2e484490#egg=networking_sfc,-e git+https://github.com/
> openstack/neutron.git at 41be555eddb0f9947fdaa4e73fa74a
> 72677d4d11#egg=neutron,neutron-lib==1.2.0,openstackdocstheme==1.6.1,
> openstacksdk==0.9.13,os-api-ref==1.3.0,os-client-config==
> 1.26.0,os-testr==0.8.0,osc-lib==1.3.0,oslo.concurrency==
> 3.19.0,oslo.config==3.22.0,oslo.context==2.12.1,oslo.db==
> 4.17.0,oslo.i18n==3.13.0,oslo.log==3.21.0,oslo.messaging==5.
> 18.0,oslo.middleware==3.23.1,oslo.policy==1.19.0,oslo.
> reports==1.17.0,oslo.rootwrap==5.4.0,oslo.serialization==2.
> 17.0,oslo.service==1.19.0,oslo.utils==3.22.0,oslo.
> versionedobjects==1.22.0,oslosphinx==4.10.0,oslotest==
> 2.14.0,ovs==2.7.0,packaging==16.8,paramiko==2.1.2,Paste==2.
> 0.3,PasteDeploy==1.5.2,pbr==2.0.0,pecan==1.2.1,pep8==1.5.7,
> pika==0.10.0,pika-pool==0.1.3,positional==1.1.1,prettytable=
> =0.7.2,psutil==5.2.0,psycopg2==2.7,pyasn1==0.2.3,pycadf==2.
> 5.0,pycparser==2.17,pyflakes==0.8.1,Pygments==2.2.0,
> pyinotify==0.9.6,pylint==1.4.5,PyMySQL==0.7.10,pyparsing==
> 2.2.0,python-cinderclient==1.11.0,python-dateutil==2.6.0,
> python-designateclient==2.6.0,python-editor==1.0.3,python-
> glanceclient==2.6.0,python-keystoneclient==3.10.0,python-
> mimeparse==1.6.0,python-neutronclient==6.1.0,python-
> novaclient==7.1.0,python-openstackclient==3.8.1,python-
> subunit==1.2.0,pytz==2016.10,PyYAML==3.12,reno==2.1.2,
> repoze.lru==0.6,requests==2.12.5,requests-mock==1.3.0,
> requestsexceptions==1.2.0,retrying==1.3.3,rfc3986==0.4.
> 1,Routes==2.4.1,ryu==4.12,simplejson==3.10.0,six==1.10.
> 0,snowballstemmer==1.2.1,Sphinx==1.5.3,SQLAlchemy==1.0.
> 17,sqlalchemy-migrate==0.11.0,sqlparse==0.2.3,statsd==3.2.1,
> stevedore==1.21.0,tempest-lib==1.0.0,Tempita==0.5.2,tenacity==3.7.1,
> testrepository==0.0.20,testresources==2.0.1,testscenarios==0.5.0,
> testtools==2.2.0,tinyrpc==0.5,traceback2==1.4.0,unittest2==
> 1.1.0,waitress==1.0.2,warlock==1.2.0,WebOb==1.6.3,WebTest==
> 2.0.26,wrapt==1.10.8
> py35 runtests: PYTHONHASHSEED='1778406666'
> py35 runtests: commands[0] | find . -type f -name *.py[c|o] -delete
> py35 runtests: commands[1] | find . -type d -name __pycache__ -delete
> py35 runtests: commands[2] | /home/vikash/guess_vk/python-
> dev/networking-sfc/tools/ostestr_compat_shim.sh
> /home/vikash/guess_vk/python-dev/networking-sfc/.tox/py35/lib/python3.5/site.py:165:
> DeprecationWarning: 'U' mode is deprecated
>   f = open(fullname, "rU")
> /home/vikash/guess_vk/python-dev/networking-sfc/.tox/py35/lib/python3.5/site.py:165:
> DeprecationWarning: 'U' mode is deprecated
>   f = open(fullname, "rU")
> /home/vikash/guess_vk/python-dev/networking-sfc/.tox/py35/lib/python3.5/site.py:165:
> DeprecationWarning: 'U' mode is deprecated
>   f = open(fullname, "rU")
> /home/vikash/guess_vk/python-dev/networking-sfc/.tox/py35/lib/python3.5/site.py:165:
> DeprecationWarning: 'U' mode is deprecated
>   f = open(fullname, "rU")
> /home/vikash/guess_vk/python-dev/networking-sfc/.tox/py35/
> lib/python3.5/site-packages/positional/__init__.py:74:
> DeprecationWarning: inspect.getargspec() is deprecated, use
> inspect.signature() instead
>   spec = inspect.getargspec(func)
> /home/vikash/guess_vk/python-dev/networking-sfc/.tox/py35/
> lib/python3.5/site-packages/wrapt/wrappers.py:522: DeprecationWarning:
> Using the 'sqlite_db' argument is deprecated: Config option sqlite_db is
> deprecated for removal,please use option `connection`.
>   args, kwargs)
> /home/vikash/guess_vk/python-dev/networking-sfc/.tox/py35/
> lib/python3.5/site-packages/wrapt/wrappers.py:561: DeprecationWarning:
> Using the 'retry_on_request' argument is deprecated: Retry on request is
> always enabled
>   args, kwargs)
> /home/vikash/guess_vk/python-dev/networking-sfc/.tox/py35/
> lib/python3.5/site-packages/alembic/operations/base.py:94:
> DeprecationWarning: inspect.getargspec() is deprecated, use
> inspect.signature() instead
>   spec = inspect.getargspec(fn)
> /home/vikash/guess_vk/python-dev/networking-sfc/.tox/py35/
> lib/python3.5/site-packages/alembic/util/langhelpers.py:76:
> DeprecationWarning: inspect.getargspec() is deprecated, use
> inspect.signature() instead
>   spec = inspect.getargspec(fn)
> Non-zero exit code (2) from test listing.
> running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
> OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
> OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
> ${PYTHON:-python} -m subunit.run discover -t ./
> ${OS_TEST_PATH:-./networking_sfc/tests/unit} --list
> --- import errors ---
> Failed to import test module: networking_sfc.tests.unit.
> services.sfc.agent.extensions.openvswitch.test_sfc_driver
> Traceback (most recent call last):
>   File "/home/vikash/guess_vk/python-dev/networking-sfc/.tox/py35/
> lib/python3.5/site-packages/unittest2/loader.py", line 456, in
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/home/vikash/guess_vk/python-dev/networking-sfc/.tox/py35/
> lib/python3.5/site-packages/unittest2/loader.py", line 395, in
> _get_module_from_name
>     __import__(name)
>   File "/home/vikash/guess_vk/python-dev/networking-sfc/networking_
> sfc/tests/unit/services/sfc/agent/extensions/openvswitch/test_sfc_driver.py",
> line 32, in <module>
>     from networking_sfc.services.sfc.agent.extensions.openvswitch import
> sfc_driver
>   File "/home/vikash/guess_vk/python-dev/networking-sfc/networking_
> sfc/services/sfc/agent/extensions/openvswitch/sfc_driver.py", line 23, in
> <module>
>     from neutron.plugins.ml2.drivers.openvswitch.agent import vlanmanager
> ImportError: cannot import name 'vlanmanager'
> The test run didn't actually run any tests
>
> Slowest Tests:
>
> /home/vikash/guess_vk/python-dev/networking-sfc/.tox/py35/lib/python3.5/site.py:165:
> DeprecationWarning: 'U' mode is deprecated
>   f = open(fullname, "rU")
> ERROR: InvocationError: '/home/vikash/guess_vk/python-
> dev/networking-sfc/tools/ostestr_compat_shim.sh '
> py27 create: /home/vikash/guess_vk/python-dev/networking-sfc/.tox/py27
> py27 installdeps: -r/home/vikash/guess_vk/python-dev/networking-sfc/requirements.txt,
> -r/home/vikash/guess_vk/python-dev/networking-sfc/test-requirements.txt
> py27 develop-inst: /home/vikash/guess_vk/python-dev/networking-sfc
> py27 installed: alabaster==0.7.10,alembic==0.9.1,amqp==1.4.9,anyjson==0.3.
> 3,appdirs==1.4.2,astroid==1.3.8,Babel==2.3.4,beautifulsoup4=
> =4.5.3,cachetools==2.0.0,cffi==1.9.1,cliff==2.4.0,cmd2==0.7.
> 0,contextlib2==0.5.4,coverage==4.3.4,cryptography==1.7.2,
> debtcollector==1.12.0,decorator==4.0.11,docutils==0.
> 13.1,dulwich==0.17.1,enum34==1.1.6,eventlet==0.19.0,extras=
> =1.0.0,fasteners==0.14.1,fixtures==3.0.0,flake8==2.5.5,
> funcsigs==1.0.2,functools32==3.2.3.post2,futures==3.0.5,
> futurist==0.21.0,greenlet==0.4.12,hacking==0.12.0,httplib2=
> =0.10.3,idna==2.4,imagesize==0.7.1,ipaddress==1.0.18,
> iso8601==0.1.11,Jinja2==2.9.5,jsonpatch==1.15,jsonpointer==
> 1.10,jsonschema==2.6.0,keystoneauth1==2.18.0,keystonemiddleware==4.14.0,
> kombu==3.0.37,linecache2==1.0.0,logilab-common==1.3.0,
> logutils==0.3.4.1,Mako==1.0.6,MarkupSafe==0.23,mccabe==0.2.
> 1,mock==2.0.0,monotonic==1.2,mox3==0.20.0,msgpack-python==
> 0.4.8,netaddr==0.7.19,netifaces==0.10.5,-e git+https://github.com/
> openstack/networking-sfc.git at c51052e3748e917731f449b0ff4dc2
> 0d2e484490#egg=networking_sfc,-e git+https://github.com/
> openstack/neutron.git at 41be555eddb0f9947fdaa4e73fa74a
> 72677d4d11#egg=neutron,neutron-lib==1.2.0,openstackdocstheme==1.6.1,
> openstacksdk==0.9.13,os-api-ref==1.3.0,os-client-config==
> 1.26.0,os-testr==0.8.0,osc-lib==1.3.0,oslo.concurrency==
> 3.19.0,oslo.config==3.22.0,oslo.context==2.12.1,oslo.db==
> 4.17.0,oslo.i18n==3.13.0,oslo.log==3.21.0,oslo.messaging==5.
> 18.0,oslo.middleware==3.23.1,oslo.policy==1.19.0,oslo.
> reports==1.17.0,oslo.rootwrap==5.4.0,oslo.serialization==2.
> 17.0,oslo.service==1.19.0,oslo.utils==3.22.0,oslo.
> versionedobjects==1.22.0,oslosphinx==4.10.0,oslotest==
> 2.14.0,ovs==2.7.0,packaging==16.8,paramiko==2.1.2,Paste==2.
> 0.3,PasteDeploy==1.5.2,pbr==2.0.0,pecan==1.2.1,pep8==1.5.7,
> pika==0.10.0,pika-pool==0.1.3,positional==1.1.1,prettytable=
> =0.7.2,psutil==5.2.0,psycopg2==2.7,pyasn1==0.2.3,pycadf==2.
> 5.0,pycparser==2.17,pyflakes==0.8.1,Pygments==2.2.0,
> pyinotify==0.9.6,pylint==1.4.5,PyMySQL==0.7.10,pyparsing==
> 2.2.0,python-cinderclient==1.11.0,python-dateutil==2.6.0,
> python-designateclient==2.6.0,python-editor==1.0.3,python-
> glanceclient==2.6.0,python-keystoneclient==3.10.0,python-
> mimeparse==1.6.0,python-neutronclient==6.1.0,python-
> novaclient==7.1.0,python-openstackclient==3.8.1,python-
> subunit==1.2.0,pytz==2016.10,PyYAML==3.12,reno==2.1.2,
> repoze.lru==0.6,requests==2.12.5,requests-mock==1.3.0,
> requestsexceptions==1.2.0,retrying==1.3.3,rfc3986==0.4.
> 1,Routes==2.4.1,ryu==4.12,simplejson==3.10.0,singledispatch==3.4.0.3,six==
> 1.10.0,snowballstemmer==1.2.1,Sphinx==1.5.3,SQLAlchemy==1.0.
> 17,sqlalchemy-migrate==0.11.0,sqlparse==0.2.3,statsd==3.2.1,
> stevedore==1.21.0,tempest-lib==1.0.0,Tempita==0.5.2,tenacity==3.7.1,
> testrepository==0.0.20,testresources==2.0.1,testscenarios==0.5.0,
> testtools==2.2.0,tinyrpc==0.5,traceback2==1.4.0,unicodecsv==
> 0.14.1,unittest2==1.1.0,waitress==1.0.2,warlock==1.2.
> 0,WebOb==1.6.3,WebTest==2.0.26,wrapt==1.10.8
> py27 runtests: PYTHONHASHSEED='1778406666'
> py27 runtests: commands[0] | find . -type f -name *.py[c|o] -delete
> py27 runtests: commands[1] | find . -type d -name __pycache__ -delete
> py27 runtests: commands[2] | /home/vikash/guess_vk/python-
> dev/networking-sfc/tools/ostestr_compat_shim.sh
> /home/vikash/neutron/neutron/common/config.py:215: DeprecationWarning:
> Using the 'sqlite_db' argument is deprecated: Config option sqlite_db is
> deprecated for removal,please use option `connection`.
>   max_overflow=20, pool_timeout=10)
> /home/vikash/neutron/neutron/db/api.py:37: DeprecationWarning: Using the
> 'retry_on_request' argument is deprecated: Retry on request is always
> enabled
>   exception_checker=is_deadlock
> /home/vikash/neutron/neutron/db/quota/driver.py:143: DeprecationWarning:
> Using the 'retry_on_request' argument is deprecated: Retry on request is
> always enabled
>   exception_checker=db_api.is_deadlock)
> /home/vikash/neutron/neutron/plugins/ml2/plugin.py:1529:
> DeprecationWarning: Using the 'retry_on_request' argument is deprecated:
> Retry on request is always enabled
>   exception_checker=lambda e: isinstance(e, (sa_exc.StaleDataError,
> runnNon-zero exit code (2) from test listing.
> ing=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
> OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
> OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
> ${PYTHON:-python} -m subunit.run discover -t ./
> ${OS_TEST_PATH:-./networking_sfc/tests/unit} --list
> --- import errors ---
> Failed to import test module: networking_sfc.tests.unit.
> services.sfc.agent.extensions.openvswitch.test_sfc_driver
> Traceback (most recent call last):
>   File "/home/vikash/guess_vk/python-dev/networking-sfc/.tox/py27/
> local/lib/python2.7/site-packages/unittest2/loader.py", line 456, in
> _find_test_path
>     module = self._get_module_from_name(name)
>   File "/home/vikash/guess_vk/python-dev/networking-sfc/.tox/py27/
> local/lib/python2.7/site-packages/unittest2/loader.py", line 395, in
> _get_module_from_name
>     __import__(name)
>   File "networking_sfc/tests/unit/services/sfc/agent/extensions/
> openvswitch/test_sfc_driver.py", line 32, in <module>
>     from networking_sfc.services.sfc.agent.extensions.openvswitch import
> sfc_driver
>   File "networking_sfc/services/sfc/agent/extensions/openvswitch/sfc_driver.py",
> line 23, in <module>
>     from neutron.plugins.ml2.drivers.openvswitch.agent import vlanmanager
> ImportError: cannot import name vlanmanager
> The test run didn't actually run any tests
>
> Slowest Tests:
>
> ERROR: InvocationError: '/home/vikash/guess_vk/python-
> dev/networking-sfc/tools/ostestr_compat_shim.sh '
> pep8 create: /home/vikash/guess_vk/python-dev/networking-sfc/.tox/pep8
> pep8 installdeps: -r/home/vikash/guess_vk/python-dev/networking-sfc/requirements.txt,
> -r/home/vikash/guess_vk/python-dev/networking-sfc/test-requirements.txt
> pep8 develop-inst: /home/vikash/guess_vk/python-dev/networking-sfc
> pep8 installed: alabaster==0.7.10,alembic==0.9.1,amqp==1.4.9,anyjson==0.3.
> 3,appdirs==1.4.2,astroid==1.3.8,Babel==2.3.4,beautifulsoup4=
> =4.5.3,cachetools==2.0.0,cffi==1.9.1,cliff==2.4.0,cmd2==0.7.
> 0,contextlib2==0.5.4,coverage==4.3.4,cryptography==1.7.2,
> debtcollector==1.12.0,decorator==4.0.11,docutils==0.
> 13.1,dulwich==0.17.1,enum34==1.1.6,eventlet==0.19.0,extras=
> =1.0.0,fasteners==0.14.1,fixtures==3.0.0,flake8==2.5.5,
> funcsigs==1.0.2,functools32==3.2.3.post2,futures==3.0.5,
> futurist==0.21.0,greenlet==0.4.12,hacking==0.12.0,httplib2=
> =0.10.3,idna==2.4,imagesize==0.7.1,ipaddress==1.0.18,
> iso8601==0.1.11,Jinja2==2.9.5,jsonpatch==1.15,jsonpointer==
> 1.10,jsonschema==2.6.0,keystoneauth1==2.18.0,keystonemiddleware==4.14.0,
> kombu==3.0.37,linecache2==1.0.0,logilab-common==1.3.0,
> logutils==0.3.4.1,Mako==1.0.6,MarkupSafe==0.23,mccabe==0.2.
> 1,mock==2.0.0,monotonic==1.2,mox3==0.20.0,msgpack-python==
> 0.4.8,netaddr==0.7.19,netifaces==0.10.5,-e git+https://github.com/
> openstack/networking-sfc.git at c51052e3748e917731f449b0ff4dc2
> 0d2e484490#egg=networking_sfc,-e git+https://github.com/
> openstack/neutron.git at 41be555eddb0f9947fdaa4e73fa74a
> 72677d4d11#egg=neutron,neutron-lib==1.2.0,openstackdocstheme==1.6.1,
> openstacksdk==0.9.13,os-api-ref==1.3.0,os-client-config==
> 1.26.0,os-testr==0.8.0,osc-lib==1.3.0,oslo.concurrency==
> 3.19.0,oslo.config==3.22.0,oslo.context==2.12.1,oslo.db==
> 4.17.0,oslo.i18n==3.13.0,oslo.log==3.21.0,oslo.messaging==5.
> 18.0,oslo.middleware==3.23.1,oslo.policy==1.19.0,oslo.
> reports==1.17.0,oslo.rootwrap==5.4.0,oslo.serialization==2.
> 17.0,oslo.service==1.19.0,oslo.utils==3.22.0,oslo.
> versionedobjects==1.22.0,oslosphinx==4.10.0,oslotest==
> 2.14.0,ovs==2.7.0,packaging==16.8,paramiko==2.1.2,Paste==2.
> 0.3,PasteDeploy==1.5.2,pbr==2.0.0,pecan==1.2.1,pep8==1.5.7,
> pika==0.10.0,pika-pool==0.1.3,positional==1.1.1,prettytable=
> =0.7.2,psutil==5.2.0,psycopg2==2.7,pyasn1==0.2.3,pycadf==2.
> 5.0,pycparser==2.17,pyflakes==0.8.1,Pygments==2.2.0,
> pyinotify==0.9.6,pylint==1.4.5,PyMySQL==0.7.10,pyparsing==
> 2.2.0,python-cinderclient==1.11.0,python-dateutil==2.6.0,
> python-designateclient==2.6.0,python-editor==1.0.3,python-
> glanceclient==2.6.0,python-keystoneclient==3.10.0,python-
> mimeparse==1.6.0,python-neutronclient==6.1.0,python-
> novaclient==7.1.0,python-openstackclient==3.8.1,python-
> subunit==1.2.0,pytz==2016.10,PyYAML==3.12,reno==2.1.2,
> repoze.lru==0.6,requests==2.12.5,requests-mock==1.3.0,
> requestsexceptions==1.2.0,retrying==1.3.3,rfc3986==0.4.
> 1,Routes==2.4.1,ryu==4.12,simplejson==3.10.0,singledispatch==3.4.0.3,six==
> 1.10.0,snowballstemmer==1.2.1,Sphinx==1.5.3,SQLAlchemy==1.0.
> 17,sqlalchemy-migrate==0.11.0,sqlparse==0.2.3,statsd==3.2.1,
> stevedore==1.21.0,tempest-lib==1.0.0,Tempita==0.5.2,tenacity==3.7.1,
> testrepository==0.0.20,testresources==2.0.1,testscenarios==0.5.0,
> testtools==2.2.0,tinyrpc==0.5,traceback2==1.4.0,unicodecsv==
> 0.14.1,unittest2==1.1.0,waitress==1.0.2,warlock==1.2.
> 0,WebOb==1.6.3,WebTest==2.0.26,wrapt==1.10.8
> pep8 runtests: PYTHONHASHSEED='1778406666'
> pep8 runtests: commands[0] | flake8
> pep8 runtests: commands[1] | /home/vikash/guess_vk/python-
> dev/networking-sfc/tools/check_unit_test_structure.sh
> Success!  All test modules match targets in the code tree.
> pep8 runtests: commands[2] | neutron-db-manage --subproject networking-sfc
> --database-connection sqlite:// check_migration
> No handlers could be found for logger "oslo_config.cfg"
>   Running branches for networking-sfc ...
> start_networking_sfc (branchpoint)
>                      -> 48072cb59133 (contract) (head)
>                      -> 24fc7241aa5 (expand)
>
>   OK
>   FAILED: Contract HEAD file does not match migration timeline head,
> expected: 48072cb59133
> ERROR: InvocationError: '/home/vikash/guess_vk/python-
> dev/networking-sfc/.tox/pep8/bin/neutron-db-manage --subproject
> networking-sfc --database-connection sqlite:// check_migration'
> pylint create: /home/vikash/guess_vk/python-dev/networking-sfc/.tox/pylint
> pylint installdeps: -r/home/vikash/guess_vk/python-dev/networking-sfc/requirements.txt,
> -r/home/vikash/guess_vk/python-dev/networking-sfc/test-requirements.txt
> pylint develop-inst: /home/vikash/guess_vk/python-dev/networking-sfc
> pylint installed: alabaster==0.7.10,alembic==0.
> 9.1,amqp==1.4.9,anyjson==0.3.3,appdirs==1.4.2,astroid==1.3.
> 8,Babel==2.3.4,beautifulsoup4==4.5.3,cachetools==2.0.0,cffi=
> =1.9.1,cliff==2.4.0,cmd2==0.7.0,contextlib2==0.5.4,coverage=
> =4.3.4,cryptography==1.7.2,debtcollector==1.12.0,
> decorator==4.0.11,docutils==0.13.1,dulwich==0.17.1,enum34==
> 1.1.6,eventlet==0.19.0,extras==1.0.0,fasteners==0.14.1,
> fixtures==3.0.0,flake8==2.5.5,funcsigs==1.0.2,functools32==
> 3.2.3.post2,futures==3.0.5,futurist==0.21.0,greenlet==0.
> 4.12,hacking==0.12.0,httplib2==0.10.3,idna==2.4,imagesize==
> 0.7.1,ipaddress==1.0.18,iso8601==0.1.11,Jinja2==2.9.5,
> jsonpatch==1.15,jsonpointer==1.10,jsonschema==2.6.0,keystoneauth1==2.18.0,
> keystonemiddleware==4.14.0,kombu==3.0.37,linecache2==1.0.
> 0,logilab-common==1.3.0,logutils==0.3.4.1,Mako==1.0.6,
> MarkupSafe==0.23,mccabe==0.2.1,mock==2.0.0,monotonic==1.2,
> mox3==0.20.0,msgpack-python==0.4.8,netaddr==0.7.19,netifaces==0.10.5,-e
> git+https://github.com/openstack/networking-sfc.git@
> c51052e3748e917731f449b0ff4dc20d2e484490#egg=networking_sfc,-e git+
> https://github.com/openstack/neutron.git@41be555eddb0f9947fdaa4e73fa74a
> 72677d4d11#egg=neutron,neutron-lib==1.2.0,openstackdocstheme==1.6.1,
> openstacksdk==0.9.13,os-api-ref==1.3.0,os-client-config==
> 1.26.0,os-testr==0.8.0,osc-lib==1.3.0,oslo.concurrency==
> 3.19.0,oslo.config==3.22.0,oslo.context==2.12.1,oslo.db==
> 4.17.0,oslo.i18n==3.13.0,oslo.log==3.21.0,oslo.messaging==5.
> 18.0,oslo.middleware==3.23.1,oslo.policy==1.19.0,oslo.
> reports==1.17.0,oslo.rootwrap==5.4.0,oslo.serialization==2.
> 17.0,oslo.service==1.19.0,oslo.utils==3.22.0,oslo.
> versionedobjects==1.22.0,oslosphinx==4.10.0,oslotest==
> 2.14.0,ovs==2.7.0,packaging==16.8,paramiko==2.1.2,Paste==2.
> 0.3,PasteDeploy==1.5.2,pbr==2.0.0,pecan==1.2.1,pep8==1.5.7,
> pika==0.10.0,pika-pool==0.1.3,positional==1.1.1,prettytable=
> =0.7.2,psutil==5.2.0,psycopg2==2.7,pyasn1==0.2.3,pycadf==2.
> 5.0,pycparser==2.17,pyflakes==0.8.1,Pygments==2.2.0,
> pyinotify==0.9.6,pylint==1.4.5,PyMySQL==0.7.10,pyparsing==
> 2.2.0,python-cinderclient==1.11.0,python-dateutil==2.6.0,
> python-designateclient==2.6.0,python-editor==1.0.3,python-
> glanceclient==2.6.0,python-keystoneclient==3.10.0,python-
> mimeparse==1.6.0,python-neutronclient==6.1.0,python-
> novaclient==7.1.0,python-openstackclient==3.8.1,python-
> subunit==1.2.0,pytz==2016.10,PyYAML==3.12,reno==2.1.2,
> repoze.lru==0.6,requests==2.12.5,requests-mock==1.3.0,
> requestsexceptions==1.2.0,retrying==1.3.3,rfc3986==0.4.
> 1,Routes==2.4.1,ryu==4.12,simplejson==3.10.0,singledispatch==3.4.0.3,six==
> 1.10.0,snowballstemmer==1.2.1,Sphinx==1.5.3,SQLAlchemy==1.0.
> 17,sqlalchemy-migrate==0.11.0,sqlparse==0.2.3,statsd==3.2.1,
> stevedore==1.21.0,tempest-lib==1.0.0,Tempita==0.5.2,tenacity==3.7.1,
> testrepository==0.0.20,testresources==2.0.1,testscenarios==0.5.0,
> testtools==2.2.0,tinyrpc==0.5,traceback2==1.4.0,unicodecsv==
> 0.14.1,unittest2==1.1.0,waitress==1.0.2,warlock==1.2.
> 0,WebOb==1.6.3,WebTest==2.0.26,wrapt==1.10.8
> pylint runtests: PYTHONHASHSEED='1778406666'
> pylint runtests: commands[0] | pylint --rcfile=.pylintrc
> --output-format=colorized networking_sfc
> ************* Module networking_sfc.services.sfc.
> agent.extensions.openvswitch.sfc_driver
> E: 23, 0: No name 'vlanmanager' in module 'neutron.plugins.ml2.drivers.openvswitch.agent'
> (no-name-in-module)
> ERROR: InvocationError: '/home/vikash/guess_vk/python-
> dev/networking-sfc/.tox/pylint/bin/pylint --rcfile=.pylintrc
> --output-format=colorized networking_sfc'
> _____________________________________________________________________________
> summary ____________________________________________________________
> _________________
> ERROR:   py35: commands failed
> ERROR:   py27: commands failed
> ERROR:   pep8: commands failed
> ERROR:   pylint: commands failed
>
>
>
> On Tue, Mar 7, 2017 at 9:35 PM, Vikash Kumar <vikash.kumar at oneconvergence.
> com> wrote:
>
> Hi,
>
>     I was testing patch on master branch, but the test is failing because
> of the import error.
>
>     http://paste.openstack.org/show/601794/
>
>
> --
>
> Regards,
>
> Vikash
>
>
>
>
> --
>
> Regards,
>
> Vikash
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Regards,
Vikash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170308/ece22ed2/attachment.html>


More information about the OpenStack-dev mailing list