yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87263
[Bug 1945285] Re: openstack-tox-py36-with-neutron-lib-master periodic job is failing due to missing notify attribute
Reviewed: https://review.opendev.org/c/openstack/neutron/+/811311
Committed: https://opendev.org/openstack/neutron/commit/21d25617abf00a225c2ab7b2a94a6663d5dbe0e5
Submitter: "Zuul (22348)"
Branch: master
commit 21d25617abf00a225c2ab7b2a94a6663d5dbe0e5
Author: elajkat <lajos.katona@xxxxxxxx>
Date: Tue Sep 28 09:33:09 2021 +0200
Change to publish for security-group db tests
Change-Id: I871654a15036db5fe7c8c0912b38acd7beb6402b
Closes-Bug: #1945285
** 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/1945285
Title:
openstack-tox-py36-with-neutron-lib-master periodic job is failing due
to missing notify attribute
Status in neutron:
Fix Released
Bug description:
Examples of failures:
https://zuul.openstack.org/build/d2f120a01f21495c8e7502cd523f562a
https://zuul.openstack.org/build/d2f120a01f21495c8e7502cd523f562a
Failing tests:
neutron.tests.unit.db.test_securitygroups_db.SecurityGroupDbMixinTestCase.test_delete_security_group_in_use:
ft1.19: neutron.tests.unit.db.test_securitygroups_db.SecurityGroupDbMixinTestCase.test_delete_security_group_in_usetesttools.testresult.real._StringException: Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 183, in func
return f(self, *args, **kwargs)
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/unit/db/test_securitygroups_db.py", line 98, in test_delete_security_group_in_use
mock.patch.object(registry, "notify") as mock_notify:
File "/usr/lib/python3.6/unittest/mock.py", line 1247, in __enter__
original, local = self.get_original()
File "/usr/lib/python3.6/unittest/mock.py", line 1221, in get_original
"%s does not have the attribute %r" % (target, name)
AttributeError: <module 'neutron_lib.callbacks.registry' from '/home/zuul/src/opendev.org/openstack/neutron/.tox/py36/lib/python3.6/site-packages/neutron_lib/callbacks/registry.py'> does not have the attribute 'notify'
neutron.tests.unit.db.test_securitygroups_db.SecurityGroupDbMixinTestCase.test_update_security_group_statefulness_binded_conflict:
ft1.28: neutron.tests.unit.db.test_securitygroups_db.SecurityGroupDbMixinTestCase.test_update_security_group_statefulness_binded_conflicttesttools.testresult.real._StringException: Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 183, in func
return f(self, *args, **kwargs)
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/unit/db/test_securitygroups_db.py", line 109, in test_update_security_group_statefulness_binded_conflict
mock.patch.object(registry, "notify") as mock_notify:
File "/usr/lib/python3.6/unittest/mock.py", line 1247, in __enter__
original, local = self.get_original()
File "/usr/lib/python3.6/unittest/mock.py", line 1221, in get_original
"%s does not have the attribute %r" % (target, name)
AttributeError: <module 'neutron_lib.callbacks.registry' from '/home/zuul/src/opendev.org/openstack/neutron/.tox/py36/lib/python3.6/site-packages/neutron_lib/callbacks/registry.py'> does not have the attribute 'notify'
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1945285/+subscriptions
References