Comment 3 for bug 723621

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote : RE: [Bug 723621] Re: test_spawn_raw_glance in XenAPIVMTestCase complains about missing pygrub

Nice LP formatting :P

URLs are:

- http://bazaar.launchpad.net/~hudson-openstack/nova/trunk/annotate/head:/nova/tests/xenapi/stubs.py#L110
- http://bazaar.launchpad.net/~hudson-openstack/nova/trunk/view/head:/nova/tests/test_xenapi.py#L54

> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
> Armando Migliaccio
> Sent: 23 February 2011 12:22
> To: Armando Migliaccio
> Subject: [Bug 723621] Re: test_spawn_raw_glance in XenAPIVMTestCase complains
> about missing pygrub
>
> For an example on how to stub out 'is_vdi_pv' see:
>
> http://bazaar.launchpad.net/~hudson-
> openstack/nova/trunk/annotate/head:/nova/tests/xenapi/stubs.py#L110
>
> and
>
> http://bazaar.launchpad.net/~hudson-
> openstack/nova/trunk/view/head:/nova/tests/test_xenapi.py#L54
>
> Hope this help!
>
> --
> You received this bug notification because you are subscribed to
> OpenStack Compute (nova).
> https://bugs.launchpad.net/bugs/723621
>
> Title:
> test_spawn_raw_glance in XenAPIVMTestCase complains about missing
> pygrub
>
> Status in OpenStack Compute (Nova):
> Confirmed
>
> Bug description:
> When running the tests I get the following output:
> test_spawn_raw_glance sh: pygrub: not
> found
> oddly, it doesn't seem to make the test fail.
>
> The os.popen command should probably be stubbed out or something to
> squelch this error.