← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1890064] Re: CI failture: ImportError: cannot import decorate

 

The issue is fixed by https://review.opendev.org/#/c/744506 in every
affected project.

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1890064

Title:
  CI failture: ImportError: cannot import decorate

Status in neutron:
  Fix Released
Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  2020-08-01 08:57:09.910403 | ubuntu-bionic | b'--- import errors ---\nFailed to import test module: nova.tests.unit\nTraceback (most recent call last):\n  File "/home/zuul/src/opendev.org/openstack/nova/.tox/lower-constraints/lib/python3.6/site-packages/unittest2/loader.py", line 490, in _find_test_path\n    package = self._get_module_from_name(name)\n  File "/home/zuul/src/opendev.org/openstack/nova/.tox/lower-constraints/lib/python3.6/site-packages/unittest2/loader.py", line 395, in _get_module_from_name\n    __import__(name)\n  File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/unit/__init__.py", line 30, in <module>\n    objects.register_all()\n  File "/home/zuul/src/opendev.org/openstack/nova/nova/objects/__init__.py", line 27, in register_all\n    __import__(\'nova.objects.agent\')\n  File "/home/zuul/src/opendev.org/openstack/nova/nova/objects/agent.py", line 15, in <module>\n    from nova.db import api as db\n  File "/home/zuul/src/opendev.org/openstack/nova/nova/db/api.py", line 33, in <module>\n    import nova.conf\n  File "/home/zuul/src/opendev.org/openstack/nova/nova/conf/__init__.py", line 25, in <module>\n    from nova.conf import cache\n  File "/home/zuul/src/opendev.org/openstack/nova/nova/conf/cache.py", line 18, in <module>\n    from oslo_cache import core\n  File "/home/zuul/src/opendev.org/openstack/nova/.tox/lower-constraints/lib/python3.6/site-packages/oslo_cache/__init__.py", line 14, in <module>\n    from oslo_cache.core import *  # noqa\n  File "/home/zuul/src/opendev.org/openstack/nova/.tox/lower-constraints/lib/python3.6/site-packages/oslo_cache/core.py", line 39, in <module>\n    import dogpile.cache\n  File "/home/zuul/src/opendev.org/openstack/nova/.tox/lower-constraints/lib/python3.6/site-packages/dogpile/cache/__init__.py", line 1, in <module>\n    from .region import CacheRegion  # noqa\n  File "/home/zuul/src/opendev.org/openstack/nova/.tox/lower-constraints/lib/python3.6/site-packages/dogpile/cache/region.py", line 12, in <module>\n    from decorator import decorate\nImportError: cannot import name \'decorate\'\n'
  2020-08-01 08:57:09.910428 | ubuntu-bionic | ================================================================================
  2020-08-01 08:57:09.910450 | ubuntu-bionic | The above traceback was encountered during test discovery which imports all the found test modules in the specified test_path.
  2020-08-01 08:57:09.946349 | ubuntu-bionic | ERROR: InvocationError for command /home/zuul/src/opendev.org/openstack/nova/.tox/lower-constraints/bin/stestr run (exited with code 100)
  2020-08-01 08:57:09.946502 | ubuntu-bionic | lower-constraints finish: run-test  after 0.90 seconds
  2020-08-01 08:57:09.947081 | ubuntu-bionic | lower-constraints start: run-test-post
  2020-08-01 08:57:09.947119 | ubuntu-bionic | lower-constraints finish: run-test-post  after 0.00 seconds
  2020-08-01 08:57:09.947526 | ubuntu-bionic | ___________________________________ summary ____________________________________
  2020-08-01 08:57:09.947557 | ubuntu-bionic | ERROR:   lower-constraints: commands failed
  2020-08-01 08:57:09.947730 | ubuntu-bionic | cleanup /home/zuul/src/opendev.org/openstack/nova/.tox/.tmp/package/1/nova-21.1.0.dev338.zip
  2020-08-01 08:57:10.490807 | ubuntu-bionic | ERROR
  2020-08-01 08:57:10.491170 | ubuntu-bionic | {
  2020-08-01 08:57:10.491273 | ubuntu-bionic |   "delta": "0:00:23.042446",
  2020-08-01 08:57:10.491368 | ubuntu-bionic |   "end": "2020-08-01 08:57:09.973813",
  2020-08-01 08:57:10.491459 | ubuntu-bionic |   "msg": "non-zero return code",
  2020-08-01 08:57:10.491547 | ubuntu-bionic |   "rc": 1,
  2020-08-01 08:57:10.491663 | ubuntu-bionic |   "start": "2020-08-01 08:56:46.931367"
  2020-08-01 08:57:10.491753 | ubuntu-bionic | }

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1890064/+subscriptions


References