[gate][tests] Tempest-lib doesn't exist anymore

Bug #1551863 reported by Victor Ryzhenkin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Critical
Victor Ryzhenkin
Kilo
Fix Released
High
Victor Ryzhenkin
Liberty
Fix Released
High
Victor Ryzhenkin

Bug Description

Tempest team removing tempest-lib and moving its code into tempest. We need to update all files, which using tempest-lib.

2016-03-01 13:15:55.923 | 2016-03-01 13:15:55.885 | ======================================================================
2016-03-01 13:15:55.923 | 2016-03-01 13:15:55.888 | ERROR: Failure: ImportError (No module named tempest_lib)
2016-03-01 13:15:55.923 | 2016-03-01 13:15:55.890 | ----------------------------------------------------------------------
2016-03-01 13:15:55.924 | 2016-03-01 13:15:55.893 | Traceback (most recent call last):
2016-03-01 13:15:55.926 | 2016-03-01 13:15:55.896 | File "/opt/stack/new/tempest/.venv/local/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
2016-03-01 13:15:55.929 | 2016-03-01 13:15:55.899 | addr.filename, addr.module)
2016-03-01 13:15:55.932 | 2016-03-01 13:15:55.902 | File "/opt/stack/new/tempest/.venv/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
2016-03-01 13:15:55.936 | 2016-03-01 13:15:55.906 | return self.importFromDir(dir_path, fqname)
2016-03-01 13:15:55.940 | 2016-03-01 13:15:55.910 | File "/opt/stack/new/tempest/.venv/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
2016-03-01 13:15:55.944 | 2016-03-01 13:15:55.914 | mod = load_module(part_fqname, fh, filename, desc)
2016-03-01 13:15:55.947 | 2016-03-01 13:15:55.917 | File "/opt/stack/new/murano/murano/tests/functional/api/v1/test_repository.py", line 20, in <module>
2016-03-01 13:15:55.949 | 2016-03-01 13:15:55.919 | from tempest_lib import exceptions
2016-03-01 13:15:55.952 | 2016-03-01 13:15:55.922 | ImportError: No module named tempest_lib

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

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

Changed in murano:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/286856

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/286857

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

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

commit ceb654959aa81facda677515cb33e87d503280ec
Author: Victor Ryzhenkin <email address hidden>
Date: Tue Mar 1 23:48:25 2016 +0300

    Update tempest plugin after tempest-lib deprecation

    Latest tempest code doesn't using tempest-lib anymore. Tempest-lib
    project now marked for deprecation. Tempest-lib code now lives in
    tempest repository and to avoid any Import errors connected with
    tempest-lib we should update our tempest tests.

    - This patch replaces all insertions of tempest_lib to tempest.lib

    Change-Id: Ifed108f3b56cc35cc7c5e53f7a0d128e3d4643f8
    Closes-Bug: #1551863

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to murano (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/287276

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (stable/kilo)

Reviewed: https://review.openstack.org/286857
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=3d4ee072ac726e7fec46ad22d02bcb601246c54a
Submitter: Jenkins
Branch: stable/kilo

commit 3d4ee072ac726e7fec46ad22d02bcb601246c54a
Author: Victor Ryzhenkin <email address hidden>
Date: Wed Mar 2 00:55:12 2016 +0300

    Update tempest tests after tempest-lib deprecation

    Latest tempest code doesn't using tempest-lib anymore. Tempest-lib
    project now marked for deprecation. Tempest-lib code now lives in
    tempest repository and to avoid any Import errors connected with
    tempest-lib we should update our tempest tests.

    - This patch replaces all insertions of tempest_lib to tempest.lib

    Change-Id: I7c5f280196052da24535d4cef3bb0ab4ab9310e2
    Closes-Bug: #1551863

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (stable/liberty)

Reviewed: https://review.openstack.org/286856
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=0cfcf423ad50906a5a211f169c18599b8fcbce8f
Submitter: Jenkins
Branch: stable/liberty

commit 0cfcf423ad50906a5a211f169c18599b8fcbce8f
Author: Victor Ryzhenkin <email address hidden>
Date: Wed Mar 2 00:55:12 2016 +0300

    Update tempest tests after tempest-lib deprecation and remove log tests

    Latest tempest code doesn't using tempest-lib anymore. Tempest-lib
    project now marked for deprecation. Tempest-lib code now lives in
    tempest repository and to avoid any Import errors connected with
    tempest-lib we should update our tempest tests.

    - This patch replaces all insertions of tempest_lib to tempest.lib
    - This patch removing obsolete tests for logging

    Co-Authored-By: Serg Melikyan <email address hidden>
    Co-Authored-By: Nikolay Starodubtsev <email address hidden>
    Change-Id: I7c5f280196052da24535d4cef3bb0ab4ab9310e2
    Closes-Bug: #1551863

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/murano 2.0.0.0b3

This issue was fixed in the openstack/murano 2.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to murano (master)

Reviewed: https://review.openstack.org/287276
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=622ef5ede4661a11842adb83f2e10713c04e746c
Submitter: Jenkins
Branch: master

commit 622ef5ede4661a11842adb83f2e10713c04e746c
Author: Victor Ryzhenkin <email address hidden>
Date: Wed Mar 2 18:49:17 2016 +0300

    Remove tempest-lib from test-requirements.

    Since tempest-lib deprecation and all patches, which rename
    tempest_lib to tempest.lib merged, we can get rid of this unused
    requirement.
    Also, we should save subunit abilities, so adding os-testr
    module to test-requirements.

    Change-Id: I751faa1fc493b0585c72a7f552279d6dde5ccf2e
    Related-Bug: #1551863

tags: added: in-stable-mitaka
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/murano 2015.1.1

This issue was fixed in the openstack/murano 2015.1.1 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/murano 1.0.3

This issue was fixed in the openstack/murano 1.0.3 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano 2015.1.1

This issue was fixed in the openstack/murano 2015.1.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano 1.0.3

This issue was fixed in the openstack/murano 1.0.3 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.