Unit tests for NEC are leaving ssh_known_hosts file in root test dir

Bug #1732992 reported by John Griffith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Sean McGinnis

Bug Description

Running the NEC unit tests results in a ssh_known_hosts file being left behind in the root test dir, that's annoying.

Tags: tests
Eric Harney (eharney)
tags: added: tests
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
assignee: nobody → Sean McGinnis (sean-mcginnis)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/523546
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=4e0b199d177053d1ef547b9f8b57a4e69d189945
Submitter: Zuul
Branch: master

commit 4e0b199d177053d1ef547b9f8b57a4e69d189945
Author: Sean McGinnis <email address hidden>
Date: Tue Nov 28 15:58:15 2017 -0600

    Mock out CLI execution in NEC driver tests

    The VolumeStats_test was not mocking the CLI code that retieves
    backend stats, resulting in an ssh_known_hosts file being created
    in the local directory. This mocks out the calls to avoid this.

    Change-Id: I60898272e0da165fe3168e51d8595250682179c0
    Closes-bug: #1732992

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

This issue was fixed in the openstack/cinder 12.0.0.0b2 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.