some functions are deprecated in tempest

Bug #1703305 reported by Anandprakash
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Won't Fix
Undecided
Unassigned

Bug Description

There are some logs I could find where I could see there are some deprecated functions in tempest like following:
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/admin/test_external_network_extension.py:41: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('afd8f1b7-a81e-4629-bca8-a367b3a144bb')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/admin/test_floating_ips_admin_actions.py:45: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('11116ee9-4e99-5b15-b8e1-aa7df92ca589')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/admin/test_l3_agent_scheduler.py:67: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('b7ce6e89-e837-4ded-9b78-9ed3c9c6a45a')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/admin/test_networks.py:22: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('d3c76044-d067-4cb0-ae47-8cdd875c7f67')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/admin/test_quotas.py:78: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('2390f766-836d-40ef-9aeb-e810d78207fb')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/admin/test_quotas_negative.py:26: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('952f9b24-9156-4bdc-90f3-682a3d4302f0')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/admin/test_routers_dvr.py:42: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('08a2a0a8-f1e4-4b34-8e30-e522e836c44e')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/admin/test_routers_flavors.py:83: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('a4d01977-e968-4983-b4d9-824ea6c33f4b')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/admin/test_shared_network_extension.py:33: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('6661d219-b96d-4597-ad10-55766123421a')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_address_scopes.py:59: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('045f9294-8b1a-4848-b6a8-edf1b41e9d06')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_address_scopes_negative.py:25: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('9c92ec34-0c50-4104-aa47-9ce98d5088df')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_allowed_address_pair.py:51: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('86c3529b-1231-40de-803c-00e40882f043')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_auto_allocated_topology.py:82: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('64bc0b02-cee4-11e5-9f3c-080027605a2b')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_dhcp_ipv6.py:82: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('98244d88-d990-4570-91d4-6b25d70d08af')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_extension_driver_port_security.py:31: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('7c338ddf-e64e-4118-bd33-e49a1f2f1495')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_extensions.py:30: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('262420b7-a4bb-4a3e-b4b5-e73bad18df8c')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_extra_dhcp_options.py:55: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('d2c17063-3767-4a24-be4f-a23dbfa133c9')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_flavors_extensions.py:66: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('b12a9487-b6a2-4cff-a69a-fe2a0b64fae6')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_floating_ips.py:44: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('f6a0fb6c-cb64-4b81-b0d5-f41d8f69d22d')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_floating_ips_negative.py:42: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('0b5b8797-6de7-4191-905c-a48b888eb429')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_metering_extensions.py:64: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('05d7c750-6d26-44d6-82f3-c9dd1f81f358')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_metering_negative.py:32: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('8b3f7c84-9d37-4771-8681-bfd2c07f3c2d')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_network_ip_availability.py:111: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('0f33cc8c-1bf6-47d1-9ce1-010618240599')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_network_ip_availability_negative.py:25: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('3b8693eb-6c57-4ea1-ab84-3730c9ee9c84')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_networks.py:39: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('2bf13842-c93f-4a69-83ed-717d2ec3b44e')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_networks_negative.py:29: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('9f80f25b-5d1b-4f26-9f6b-774b9b270819')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_ports.py:45: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('c72c1c0c-2193-4aca-bbb4-b1442640bbbb')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_qos.py:31: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('108fbdf7-3463-4e47-9871-d07f3dcf5bbb')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_qos_negative.py:31: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('b9dce555-d3b3-11e5-950a-54ee757c77da')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_revisions.py:29: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('4a26a4be-9c53-483c-bc50-b53f1db10ac6')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_routers.py:44: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('c72c1c0c-2193-4aca-eeee-b1442640eeee')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_routers_negative.py:42: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('e3e751af-15a2-49cc-b214-a7154579e94f')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_security_groups.py:29: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('bfd128e5-3c92-44b6-9d66-7fe29d22c802')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_security_groups_negative.py:30: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('55100aa8-b24f-333c-0bef-64eefd85f15c')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_service_type_management.py:25: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('2cbbeea9-f010-40f6-8df5-4eaa0c918ea6')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_subnetpools.py:94: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('6e1781ec-b45b-4042-aebe-f485c022996e')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_subnetpools_negative.py:33: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('0212a042-603a-4f46-99e0-e37de9374d30')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_subnets.py:31: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('d2d61995-5dd5-4b93-bce7-3edefdb79563')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_tag.py:85: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('5621062d-fbfb-4437-9d69-138c78ea4188')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_timestamp.py:54: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('462be770-b310-4df9-9c42-773217e4c8b1')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_trunk.py:84: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('e1a6355c-4768-41f3-9bf8-0f1d192bd501')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_trunk_details.py:24: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('f0bed24f-d36a-498b-b4e7-0d66e3fb7308')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/api/test_trunk_negative.py:26: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('1b5cf87a-1d3a-4a94-ba64-647153d54f32')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/scenario/test_basic.py:30: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('de07fe0a-e955-449e-b48b-8641c14cd52e')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/scenario/test_dvr.py:53: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('3d73ec1a-2ec6-45a9-b0f8-04a283d9d344')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/scenario/test_floatingip.py:122: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('05c4e3b3-7319-4052-90ad-e8916436c23b')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/scenario/test_qos.py:143: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('1f7ed39b-428f-410a-bd2b-db9f465680df')
    /usr/lib/python2.7/site-packages/neutron/tests/tempest/scenario/test_trunk.py:146: DeprecationWarning: Function 'tempest.test.idempotent_id()' has moved to 'tempest.lib.decorators.idempotent_id()' in version 'Mitaka' and will be removed in a future version
      @test.idempotent_id('bb13fe28-f152-4000-8131-37890a40c79e')

Revision history for this message
Matthew Treinish (treinish) wrote :

This isn't actually a bug in tempest, those are interfaces that will be removed in a future version. The neutron tempest plugin is using them which is causing the warning to be emitted. The issue is that the neutron plugin code needs to be updated

Changed in tempest:
status: New → Invalid
no longer affects: tempest
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Bug closed due to lack of activity, please feel free to reopen if needed.

Changed in neutron:
status: New → Incomplete
status: Incomplete → Won't Fix
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.