← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1945285] [NEW] openstack-tox-py36-with-neutron-lib-master periodic job is failing due to missing notify attribute

 

Public bug reported:

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'

** Affects: neutron
     Importance: Critical
         Status: Confirmed


** Tags: gate-failure neutron-lib unittest

-- 
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:
  Confirmed

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



Follow ups