nova.tests.test_virt_disk.VirtDiskTest.test_inject_admin_password fails on OS X

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

Bug Description

From unit tests launched via tox on OS X.

======================================================================
FAIL: nova.tests.test_virt_disk.VirtDiskTest.test_inject_admin_password
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/Users/jogo/Develop/nova_trunk/nova/nova/tests/test_virt_disk.py", line 162, in test_inject_admin_password
    'uid': 100})
MismatchError: !=:
reference = {'content': 'root:12tir.zIbWQ3c:14917:0:99999:7:::\nbin:*:14495:0:99999:7:::\ndaemon:*:14495:0:99999:7:::\n',
 'gid': 100,
 'isdir': False,
 'mode': 448,
 'uid': 100}
actual = {'content': 'root:$1$12345678$a4ge4d5iJ5vwvbFS88TEN0:14917:0:99999:7:::\nbin:*:14495:0:99999:7:::\ndaemon:*:14495:0:99999:7:::\n',
 'gid': 100,
 'isdir': False,
 'mode': 448,
 'uid': 100}

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/17097

Changed in nova:
assignee: nobody → Joe Gordon (joe-gordon0)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/17097
Committed: http://github.com/openstack/nova/commit/49010b758865983567006c374cef88f916feaf0e
Submitter: Jenkins
Branch: master

commit 49010b758865983567006c374cef88f916feaf0e
Author: Joe Gordon <email address hidden>
Date: Wed Nov 28 17:55:12 2012 -0800

    Fix test_inject_admin_password for OSX

    On OSX DES is used instead of MD5, see
    nova.virt.disk.api:_set_password for more details

    Fix bug 1084337

    Change-Id: I2490e1e322d42fecb43af5436fea2f903c11e265

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-2 → 2013.1
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.