test_convert_image_with_errors fails with OSError: [Errno 2] No such file or directory

Bug #1776797 reported by Corey Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Corey Bryant

Bug Description

test_convert_image_with_errors fails with OSError: [Errno 2] No such file or directory

See traceback here: https://paste.ubuntu.com/p/bQ6Z9QPXCY/

where args = ['qemu-img', 'convert', '-t', 'none', '-O', 'raw', '-f', 'qcow2', '/path/that/does/not/exist', '/other/path/that/does/not/exist']

It seems the execute mock is incorrect.

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

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

Changed in nova:
assignee: nobody → Corey Bryant (corey.bryant)
status: New → In Progress
Revision history for this message
Zhenyu Zheng (zhengzhenyu) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/575305
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=5e36e3342eb59b4e77f4c8408190e606cabdf75c
Submitter: Zuul
Branch: master

commit 5e36e3342eb59b4e77f4c8408190e606cabdf75c
Author: Corey Bryant <email address hidden>
Date: Wed Jun 13 21:58:49 2018 -0400

    Fix execute mock for test_convert_image_with_errors

    This was introduced in https://review.openstack.org/#/c/554437/
    with the move of image conversion to privsep.

    Change-Id: Ia68b0124ce59a256df6666ee19b6ab03253969a1
    Closes-Bug: #1776797

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

This issue was fixed in the openstack/nova 18.0.0.0b3 development milestone.

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.