← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1589521] [NEW] AttributeError: type object 'BaseNetworkTest' has no attribute '_try_delete_resource'

 

Public bug reported:

Neutron API job broken by a change in tempest:
https://review.openstack.org/#/c/277907/

...and fwaas tempest plugin using internal symbols from tempest.

Logs: http://logs.openstack.org/41/325141/3/gate/gate-neutron-dsvm-
api/281611d/console.html#_2016-06-06_12_27_35_286

2016-06-06 12:27:35.198 | Failed to import test module: neutron_fwaas.tests.tempest_plugin.tests.api.test_fwaas_extensions
2016-06-06 12:27:35.237 | Traceback (most recent call last):
2016-06-06 12:27:35.242 |   File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 456, iNon-zero exit code (2) from test listing.
2016-06-06 12:27:35.242 | nerror: testr failed (3)
2016-06-06 12:27:35.243 |  _find_test_path
2016-06-06 12:27:35.245 |     module = self._get_module_from_name(name)
2016-06-06 12:27:35.280 |   File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
2016-06-06 12:27:35.281 |     __import__(name)
2016-06-06 12:27:35.285 |   File "/opt/stack/new/neutron-fwaas/neutron_fwaas/tests/tempest_plugin/tests/api/test_fwaas_extensions.py", line 23, in <module>
2016-06-06 12:27:35.286 |     from neutron_fwaas.tests.tempest_plugin.tests.api import base
2016-06-06 12:27:35.286 |   File "/opt/stack/new/neutron-fwaas/neutron_fwaas/tests/tempest_plugin/tests/api/base.py", line 21, in <module>
2016-06-06 12:27:35.286 |     class BaseFWaaSTest(fwaas_client.FWaaSClientMixin, base.BaseNetworkTest):
2016-06-06 12:27:35.286 |   File "/opt/stack/new/neutron-fwaas/neutron_fwaas/tests/tempest_plugin/tests/api/base.py", line 22, in BaseFWaaSTest
2016-06-06 12:27:35.286 |     _delete_wrapper = base.BaseNetworkTest._try_delete_resource
2016-06-06 12:27:35.286 | AttributeError: type object 'BaseNetworkTest' has no attribute '_try_delete_resource'
2016-06-06 12:27:35.286 | 
2016-06-06 12:27:35.286 | Failed to import test module: neutron_fwaas.tests.tempest_plugin.tests.scenario.test_fwaas
2016-06-06 12:27:35.286 | Traceback (most recent call last):
2016-06-06 12:27:35.287 |   File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
2016-06-06 12:27:35.287 |     module = self._get_module_from_name(name)
2016-06-06 12:27:35.287 |   File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
2016-06-06 12:27:35.287 |     __import__(name)
2016-06-06 12:27:35.287 |   File "/opt/stack/new/neutron-fwaas/neutron_fwaas/tests/tempest_plugin/tests/scenario/test_fwaas.py", line 21, in <module>
2016-06-06 12:27:35.287 |     from neutron_fwaas.tests.tempest_plugin.tests.scenario import base
2016-06-06 12:27:35.287 |   File "/opt/stack/new/neutron-fwaas/neutron_fwaas/tests/tempest_plugin/tests/scenario/base.py", line 27, in <module>
2016-06-06 12:27:35.287 |     manager.NetworkScenarioTest):
2016-06-06 12:27:35.287 |   File "/opt/stack/new/neutron-fwaas/neutron_fwaas/tests/tempest_plugin/tests/scenario/base.py", line 28, in FWaaSScenarioTest
2016-06-06 12:27:35.287 |     _delete_wrapper = manager.NetworkScenarioTest.delete_wrapper
2016-06-06 12:27:35.287 | AttributeError: type object 'NetworkScenarioTest' has no attribute 'delete_wrapper'
2016-06-06 12:27:35.287 | The test run didn't actually run any tests

** Affects: neutron
     Importance: Critical
         Status: Confirmed


** Tags: fwaas gate-failure

** Tags added: fwaas gate-failure

** Changed in: neutron
   Importance: Undecided => Critical

** Changed in: neutron
       Status: New => Confirmed

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

Title:
  AttributeError: type object 'BaseNetworkTest' has no attribute
  '_try_delete_resource'

Status in neutron:
  Confirmed

Bug description:
  Neutron API job broken by a change in tempest:
  https://review.openstack.org/#/c/277907/

  ...and fwaas tempest plugin using internal symbols from tempest.

  Logs: http://logs.openstack.org/41/325141/3/gate/gate-neutron-dsvm-
  api/281611d/console.html#_2016-06-06_12_27_35_286

  2016-06-06 12:27:35.198 | Failed to import test module: neutron_fwaas.tests.tempest_plugin.tests.api.test_fwaas_extensions
  2016-06-06 12:27:35.237 | Traceback (most recent call last):
  2016-06-06 12:27:35.242 |   File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 456, iNon-zero exit code (2) from test listing.
  2016-06-06 12:27:35.242 | nerror: testr failed (3)
  2016-06-06 12:27:35.243 |  _find_test_path
  2016-06-06 12:27:35.245 |     module = self._get_module_from_name(name)
  2016-06-06 12:27:35.280 |   File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
  2016-06-06 12:27:35.281 |     __import__(name)
  2016-06-06 12:27:35.285 |   File "/opt/stack/new/neutron-fwaas/neutron_fwaas/tests/tempest_plugin/tests/api/test_fwaas_extensions.py", line 23, in <module>
  2016-06-06 12:27:35.286 |     from neutron_fwaas.tests.tempest_plugin.tests.api import base
  2016-06-06 12:27:35.286 |   File "/opt/stack/new/neutron-fwaas/neutron_fwaas/tests/tempest_plugin/tests/api/base.py", line 21, in <module>
  2016-06-06 12:27:35.286 |     class BaseFWaaSTest(fwaas_client.FWaaSClientMixin, base.BaseNetworkTest):
  2016-06-06 12:27:35.286 |   File "/opt/stack/new/neutron-fwaas/neutron_fwaas/tests/tempest_plugin/tests/api/base.py", line 22, in BaseFWaaSTest
  2016-06-06 12:27:35.286 |     _delete_wrapper = base.BaseNetworkTest._try_delete_resource
  2016-06-06 12:27:35.286 | AttributeError: type object 'BaseNetworkTest' has no attribute '_try_delete_resource'
  2016-06-06 12:27:35.286 | 
  2016-06-06 12:27:35.286 | Failed to import test module: neutron_fwaas.tests.tempest_plugin.tests.scenario.test_fwaas
  2016-06-06 12:27:35.286 | Traceback (most recent call last):
  2016-06-06 12:27:35.287 |   File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
  2016-06-06 12:27:35.287 |     module = self._get_module_from_name(name)
  2016-06-06 12:27:35.287 |   File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
  2016-06-06 12:27:35.287 |     __import__(name)
  2016-06-06 12:27:35.287 |   File "/opt/stack/new/neutron-fwaas/neutron_fwaas/tests/tempest_plugin/tests/scenario/test_fwaas.py", line 21, in <module>
  2016-06-06 12:27:35.287 |     from neutron_fwaas.tests.tempest_plugin.tests.scenario import base
  2016-06-06 12:27:35.287 |   File "/opt/stack/new/neutron-fwaas/neutron_fwaas/tests/tempest_plugin/tests/scenario/base.py", line 27, in <module>
  2016-06-06 12:27:35.287 |     manager.NetworkScenarioTest):
  2016-06-06 12:27:35.287 |   File "/opt/stack/new/neutron-fwaas/neutron_fwaas/tests/tempest_plugin/tests/scenario/base.py", line 28, in FWaaSScenarioTest
  2016-06-06 12:27:35.287 |     _delete_wrapper = manager.NetworkScenarioTest.delete_wrapper
  2016-06-06 12:27:35.287 | AttributeError: type object 'NetworkScenarioTest' has no attribute 'delete_wrapper'
  2016-06-06 12:27:35.287 | The test run didn't actually run any tests

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


Follow ups