Comment 3 for bug 882933

Revision history for this message
Vish Ishaya (vishvananda) wrote : Re: [Bug 882933] [NEW] run_tests.sh stops at CloudTestCase test_ajax_console

FYI, you will need to change --instances_path from your shared folder as well if you want to actually run nova. Alternatively, you can use nfs shares. That is what i do with my vagrant script.

Vish

On Oct 28, 2011, at 11:00 AM, Duncan McGreggor wrote:

> Vish, that was amazing. Sure thing: as soon as added /tmp as the
> lock_file path, the tests continued.
>
> I'd love to document this someplace in the wiki... is there a "run
> openstack's unit tests" page somewhere? If not, I can create one...
>
> On Fri, Oct 28, 2011 at 10:42 AM, Vish Ishaya <email address hidden> wrote:
>> Are you running from a shared folder? I have noticed that python-
>> lockfile just utterly fails in a shared folder for some reason. I have
>> to update nova/tests/fake_flags.py to set the lock_path to something
>> like /tmp for it to pass if you are running in a shared folder.
>>
>> Vish
>>
>> On Oct 27, 2011, at 11:41 PM, Duncan McGreggor wrote:
>>
>>> Public bug reported:
>>>
>>> When attempting to run the test suite, I get as far as the first test in
>>> the CloudTestCase
>>> (nova.tests.api.ec2.test_cloud.CloudTestCase.test_ajax_console), and
>>> then the tests just hang. I've attempted this twice, the second time
>>> waiting a full 10 minutes before I hit ^C; same results each time.
>>>
>>> Not sure if there's supposed to be another component installed? Wasn't
>>> able to discover any docs on running the unit tests, though I could
>>> easily have overlooked something...
>>>
>>> Additional info:
>>> Python 2.7
>>> nova from git (75a3fbb21eebd4de8775b63c327d9d57859d090c)
>>> Ubuntu 11.10 (running in a virtual box instance on a MacBook Air)
>>>
>>> ** Affects: nova
>>> Importance: Undecided
>>> Status: New
>>>
>>> --
>>> You received this bug notification because you are subscribed to
>>> OpenStack Compute (nova).
>>> https://bugs.launchpad.net/bugs/882933
>>>
>>> Title:
>>> run_tests.sh stops at CloudTestCase test_ajax_console
>>>
>>> Status in OpenStack Compute (Nova):
>>> New
>>>
>>> Bug description:
>>> When attempting to run the test suite, I get as far as the first test
>>> in the CloudTestCase
>>> (nova.tests.api.ec2.test_cloud.CloudTestCase.test_ajax_console), and
>>> then the tests just hang. I've attempted this twice, the second time
>>> waiting a full 10 minutes before I hit ^C; same results each time.
>>>
>>> Not sure if there's supposed to be another component installed? Wasn't
>>> able to discover any docs on running the unit tests, though I could
>>> easily have overlooked something...
>>>
>>> Additional info:
>>> Python 2.7
>>> nova from git (75a3fbb21eebd4de8775b63c327d9d57859d090c)
>>> Ubuntu 11.10 (running in a virtual box instance on a MacBook Air)
>>>
>>> To manage notifications about this bug go to:
>>> https://bugs.launchpad.net/nova/+bug/882933/+subscriptions
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/882933
>>
>> Title:
>> run_tests.sh stops at CloudTestCase test_ajax_console
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/nova/+bug/882933/+subscriptions
>>
>
> --
> You received this bug notification because you are subscribed to
> OpenStack Compute (nova).
> https://bugs.launchpad.net/bugs/882933
>
> Title:
> run_tests.sh stops at CloudTestCase test_ajax_console
>
> Status in OpenStack Compute (Nova):
> New
>
> Bug description:
> When attempting to run the test suite, I get as far as the first test
> in the CloudTestCase
> (nova.tests.api.ec2.test_cloud.CloudTestCase.test_ajax_console), and
> then the tests just hang. I've attempted this twice, the second time
> waiting a full 10 minutes before I hit ^C; same results each time.
>
> Not sure if there's supposed to be another component installed? Wasn't
> able to discover any docs on running the unit tests, though I could
> easily have overlooked something...
>
> Additional info:
> Python 2.7
> nova from git (75a3fbb21eebd4de8775b63c327d9d57859d090c)
> Ubuntu 11.10 (running in a virtual box instance on a MacBook Air)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nova/+bug/882933/+subscriptions