← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1708196] Re: test_validate_volume_no_mtab_entry depends on /etc/mtab

 

Reviewed:  https://review.openstack.org/495485
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e1ad386f9828a6c9caf3c0cb962a3912c9a3885a
Submitter: Jenkins
Branch:    master

commit e1ad386f9828a6c9caf3c0cb962a3912c9a3885a
Author: Chris Suttles <suttles@xxxxxxxxx>
Date:   Fri Aug 18 22:27:43 2017 -0700

    Fix quobyte test_validate_volume_no_mtab_entry
    
    Fix test_validate_volume_no_mtab_entry. Currently depends on /etc/mtab,
    this patches and mocks psutil.disk_partitions, which is the source of
    the dependency.
    
    Change-Id: Ie10b134a1840b1277c0c4059f634a6bafd256c2d
    Closes-Bug: #1708196


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1708196

Title:
  test_validate_volume_no_mtab_entry depends on /etc/mtab

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  If /etc/mtab does not exist, test_validate_volume_no_mtab_entry() fails with:
    OSError: [Errno 2] No such file or directory: '/etc/mtab'

  Full traceback:
    http://paste.ubuntu.com/25227227/

  Ideally this would check if /etc/mtab exists before running the test.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1708196/+subscriptions


References