[murano][tempest] Murano tempest tests shouldn't write to test directory

Bug #1620706 reported by Alexey Deryugin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Low
Victor Ryzhenkin

Bug Description

Now Murano tempest tests atempts to write to test directory,
so when we try to run tests on Murano installed from package
we got an exception:

Traceback (most recent call last):
  File "murano_tempest_tests/tests/api/application_catalog/test_repository.py", line 45, in test_upload_and_delete_package
    utils.prepare_package(application_name)
  File "murano_tempest_tests/utils.py", line 133, in prepare_package
    version=version)
  File "murano_tempest_tests/utils.py", line 56, in compose_package
    with open(manifest, 'w') as f:
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/site-packages/murano_tempest_tests/extras/MockApp/manifest.yaml'

Tags: tests
Changed in murano:
assignee: nobody → Alexey Deryugin (velovec)
status: New → In Progress
Changed in murano:
milestone: none → newton-rc1
importance: Undecided → Medium
summary: - [murano][temptest] Murano tempest tests shouldn't write to test
- directory
+ [murano][tempest] Murano tempest tests shouldn't write to test directory
Changed in murano:
importance: Medium → Low
tags: added: tests
Changed in murano:
assignee: Alexey Deryugin (velovec) → Victor Ryzhenkin (vryzhenkin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

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

commit 1833842b734fc79a82c4711b3c92fe1987eaa495
Author: Alexey Deryugin <email address hidden>
Date: Tue Sep 6 18:44:32 2016 +0300

    Make tests compose packages in temporarily directory

    OpenStack Puppet CI uses packaged version of Murano,
    so we don't have write permissions to test directory.
    We need to compose Murano packages required for
    tests in temporarily directories to fix it.

    Closes-Bug: #1620706
    Change-Id: I0334869237208f707b66b1e473e6044b1d3fe06f

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano 3.0.0.0rc1

This issue was fixed in the openstack/murano 3.0.0.0rc1 release candidate.

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.