[System Tests] Openstack_test should create image from cirros test images

Bug #1435777 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Andrey Sledzinskiy

Bug Description

https://github.com/stackforge/fuel-qa/blob/master/fuelweb_test/tests/test_ceph.py#L286 - it's better to use cirros pre-uploaded images

Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_3/fuelweb_test/helpers/decorators.py", line 66, in wrapper
    return func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_3/fuelweb_test/tests/test_ceph.py", line 290, in check_openstack_stat
    settings.SERVTEST_SAHARA_VANILLA_2_IMAGE_META)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_3/fuelweb_test/helpers/common.py", line 76, in image_import
    with open('{0}/{1}'.format(local_path, image)) as fimage:
IOError: [Errno 2] No such file or directory: '/tmp/sahara-juno-vanilla-2.4.1-ubuntu-14.04.qcow2'

Tags: system-tests
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

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

Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/167335
Committed: https://git.openstack.org/cgit/stackforge/fuel-qa/commit/?id=8a7615672d1de4bba6d7abd942d4b43bf3fa4d2c
Submitter: Jenkins
Branch: master

commit 8a7615672d1de4bba6d7abd942d4b43bf3fa4d2c
Author: asledzinskiy <email address hidden>
Date: Tue Mar 24 19:18:37 2015 +0200

    Change creation of image file on openstack stat test

    - Change the way of creation image in openstack test
    to use cli client on controller and cirros image

    Change-Id: Id8d47c44a1013d34ca0373c3e0b9dd32f1be72ad
    Closes-Bug: #1435777

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

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

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

Reviewed: https://review.openstack.org/169716
Committed: https://git.openstack.org/cgit/stackforge/fuel-qa/commit/?id=4803826bc33bb71040164c54a923553e5e10cdfd
Submitter: Jenkins
Branch: master

commit 4803826bc33bb71040164c54a923553e5e10cdfd
Author: Tatyana Leontovich <email address hidden>
Date: Wed Apr 1 15:03:09 2015 +0300

    Add usage of get primary node in test_ceph

    Change-Id: I28e69f57ae03aa0e70e36ed56c018ec3597b916c
    Related-Bug: #1435777

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.