running the test suite in parallel fails

Bug #1017273 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Triaged
Low
Unassigned

Bug Description

I ran the test suite in parallel (as the 5 minute run time was a bit tedious) and found that the test suite is not concurrency safe.

To reproduce, make a file .testr.conf containing:
======
[DEFAULT]
test_command=./test --reporter=subunit $LISTOPT $IDLIST
test_list_option=-n
======

And run 'testr run --parallel'.

And watch the fireworks.

Revision history for this message
Robert Collins (lifeless) wrote :

(note: moving from trial to testtools may help with this as testtools doesn't have a singleton test dir, and that avoids a whole class of concurrency issues with log files etc).

Changed in juju:
importance: Undecided → Medium
Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: [Bug 1017273] Re: running the test suite in parallel fails

I'd say Importance -> Low, we're hovering around 2m atm for 2.1k tests, w/
sec 3. that seems fine to me.

On Sat, Sep 29, 2012 at 3:01 AM, Clint Byrum <email address hidden> wrote:

> ** Changed in: juju
> Importance: Undecided => Medium
>
> --
> You received this bug notification because you are subscribed to juju.
> https://bugs.launchpad.net/bugs/1017273
>
> Title:
> running the test suite in parallel fails
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1017273/+subscriptions
>

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

I have confirmed this does not work. Leaving it at Medium as improving test runs should mean more efficient development, even if we take it from 2m to 1m.. until it is 30s or less, it will be tedious.

Changed in juju:
status: New → Triaged
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

it should be possible to chroot the various zk clients by pid to allow for parallel testing.

Changed in juju:
milestone: none → 0.8
Curtis Hovey (sinzui)
Changed in juju:
importance: Medium → Low
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.