CI failture: ImportError: cannot import decorate

Bug #1890064 reported by Brin Zhang
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Brin Zhang
neutron
Fix Released
High
Lajos Katona

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 | }

Tags: gate-failure
Brin Zhang (zhangbailin)
summary: - ImportError: cannot import decorate
+ CI failture: ImportError: cannot import decorate
Changed in nova:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/744385

Changed in nova:
assignee: nobody → Brin Zhang (zhangbailin)
status: New → In Progress
Revision history for this message
Bernard Cafarelli (bcafarel) wrote :
tags: added: gate-failure
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Brin Zhang (<email address hidden>) on branch: master
Review: https://review.opendev.org/744385

Revision history for this message
Brin Zhang (zhangbailin) wrote :
Brin Zhang (zhangbailin)
Changed in nova:
assignee: Brin Zhang (zhangbailin) → nobody
Revision history for this message
Akihiro Motoki (amotoki) wrote :

neutron master branch is also affected.
An example failure is found at https://zuul.opendev.org/t/openstack/build/7b00bdce6bda43ef8cd69eb43f47453c

Changed in neutron:
importance: Undecided → High
Revision history for this message
Akihiro Motoki (amotoki) wrote :

neutron fix is proposed at https://review.opendev.org/#/c/744465/

Changed in neutron:
status: New → In Progress
Changed in neutron:
assignee: nobody → Lajos Katona (lajos-katona)
Changed in nova:
assignee: nobody → Brin Zhang (zhangbailin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Brin Zhang (<email address hidden>) on branch: master
Review: https://review.opendev.org/744385

Revision history for this message
Brin Zhang (zhangbailin) wrote :

Nova lower-constraints ci job fixed in https://review.opendev.org/744506.

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Lajos Katona (<email address hidden>) on branch: master
Review: https://review.opendev.org/744465
Reason: it is not needed anymore

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.