[tests][tempest] Murano uses unsafe unstable tempest API in multiple places

Bug #1589713 reported by Kirill Zaitsev on 2016-06-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Medium
Unassigned

Bug Description

In multiple places around the code murano uses unstable tempest api. For example https://github.com/openstack/murano/blob/822a312c3ab38c34a9bc3cf7f43e1b632b8bd4b2/murano_tempest_tests/tests/api/application_catalog/base.py#L18-L19

While in fact murano should use tempest.lib.*

See http://docs.openstack.org/developer/tempest/plugin.html#stable-tempest-apis-plugins-may-use

This leads to multiple regressions in stable branches and should be changed to make murano gate jobs more robust and resilient to tempest changes.

tags: removed: low-hanging-fruit

Fix proposed to branch: master
Review: https://review.openstack.org/328721

Changed in murano:
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/328721
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=736821143edc63e3e5d7f47ebd282a3c29d1f290
Submitter: Jenkins
Branch: master

commit 736821143edc63e3e5d7f47ebd282a3c29d1f290
Author: Lin Yang <email address hidden>
Date: Sun Jun 12 18:16:40 2016 +0800

    Change to tempest stable API

    Previously several places in murano tempest test use unstable tempest
    api. In fact, it should use api from tempest.lib.* [1]. So fixed them
    to make them more robust and resilient to tempest changes. The
    unstable api removed here include:
      * tempest.clients
      * tempest.test

    [1] http://docs.openstack.org/developer/tempest/plugin.html#stable-tempest-apis-plugins-may-use

    Change-Id: I018b00cc026a707da6afe40a327b44e97c16db53
    Related-Bug: #1589713

Changed in murano:
milestone: newton-2 → newton-3
Changed in murano:
milestone: newton-3 → newton-rc1
Valerii Kovalchuk (vakovalchuk) wrote :

Lin Yang, do you plan to continue work on this bug?

Changed in murano:
milestone: newton-rc1 → newton-rc2
Valerii Kovalchuk (vakovalchuk) wrote :

Removing assignee due to no recent activity

Changed in murano:
assignee: Lin Yang (lin-a-yang) → nobody

Reviewed: https://review.openstack.org/435079
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=e0152b4e6d75b0d8e90c77e2731864a25e412a58
Submitter: Jenkins
Branch: stable/mitaka

commit e0152b4e6d75b0d8e90c77e2731864a25e412a58
Author: Lin Yang <email address hidden>
Date: Sun Jun 12 18:16:40 2016 +0800

    Change to tempest stable API

    Previously several places in murano tempest test use unstable tempest
    api. In fact, it should use api from tempest.lib.* [1]. So fixed them
    to make them more robust and resilient to tempest changes. The
    unstable api removed here include:
      * tempest.clients
      * tempest.test

    [1] http://docs.openstack.org/developer/tempest/plugin.html#stable-tempest-apis-plugins-may-use

    Change-Id: I018b00cc026a707da6afe40a327b44e97c16db53
    Related-Bug: #1589713

tags: added: in-stable-mitaka
Changed in murano:
milestone: 3.1.0 → pike-2
Changed in murano:
status: In Progress → Confirmed
no longer affects: murano/liberty
no longer affects: murano/mitaka
no longer affects: murano/newton
no longer affects: murano/ocata
Changed in murano:
milestone: pike-2 → pike-rc1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers