Comment 1 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

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