← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Reviewed:  https://review.openstack.org/326231
Committed: https://git.openstack.org/cgit/openstack/tap-as-a-service/commit/?id=38f1ab3bd26e7188144367363a385ee913d7d8e0
Submitter: Jenkins
Branch:    master

commit 38f1ab3bd26e7188144367363a385ee913d7d8e0
Author: YAMAMOTO Takashi <yamamoto@xxxxxxxxxxxx>
Date:   Tue Jun 7 14:29:47 2016 +0900

    Use call_and_ignore_notfound_exc directly
    
    This patch makes service client use call_and_ignore_notfound_exc
    directly because the client only uses it.
    
    Co-Authored-By: Ken'ichi Ohmichi <ken-oomichi@xxxxxxxxxxxxx>
    Closes-Bug: #1589521
    Change-Id: I8ee81502a090aa0581e0b46b96bfa6144b456cc4


** Changed in: tap-as-a-service
       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/1589521

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

Status in neutron:
  Fix Released
Status in tap-as-a-service:
  Fix Released

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


References