nova testsuite fails in the buildds.

Bug #712481 reported by Chuck Short
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Soren Hansen
nova (Ubuntu)
Fix Released
High
Soren Hansen

Bug Description

The ratelimiting test fails in the ubuntu buildds:

======================================================================
FAIL: test_second (nova.tests.api.openstack.test_ratelimiting.LimiterTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/nova-2011.1/nova/tests/api/openstack/test_ratelimiting.py", line 35, in test_second
    self.exhaust('a', 1)
  File "/build/buildd/nova-2011.1/nova/tests/api/openstack/test_ratelimiting.py", line 30, in exhaust
    self.assertAlmostEqual(when, delay, 2)
AssertionError: 0.1911951541900634 != 0.2 within 2 places

----------------------------------------------------------------------

Related branches

Revision history for this message
Thierry Carrez (ttx) wrote :

Any reason why this would work on PPAs and not on main buildds ? Or is it just a random failure ?

Changed in nova:
status: New → Incomplete
Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 712481] Re: nova testsuite fails in the buildds.

I talked to Lamont last week and got him to look up the kernel config
on the buildds. Turns out they're running at HZ=100. That's too low
resolution for that particular test to function.

--
Soren Hansen        | http://linux2go.dk/
Ubuntu Developer    | http://www.ubuntu.com/
OpenStack Developer | http://www.openstack.org/

Revision history for this message
Thierry Carrez (ttx) wrote :

So... should we relax the test ? Skip it on buildds ?

Thierry Carrez (ttx)
Changed in nova (Ubuntu):
importance: Undecided → High
status: New → Incomplete
Thierry Carrez (ttx)
Changed in nova:
assignee: nobody → Soren Hansen (soren)
importance: Undecided → Low
status: Incomplete → In Progress
Soren Hansen (soren)
Changed in nova (Ubuntu):
assignee: nobody → Soren Hansen (soren)
status: Incomplete → In Progress
Thierry Carrez (ttx)
Changed in nova:
status: In Progress → Fix Committed
Soren Hansen (soren)
Changed in nova (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nova - 2011.2~bzr925-0ubuntu1

---------------
nova (2011.2~bzr925-0ubuntu1) natty; urgency=low

  [Chuck Short]
  * New upstream release.

  [Soren Hansen]
  * Make the build fail if the test suite does. The test that used to
    fail on the buildd's has been complete rewritten. (LP: #712481)
  * Specify that we need Sphinx > 1.0 to build.
  * Remove refresh_bzr_branches target from debian/rules. It is not used
    anymore.
  * Clean up after doc builds on debian/rules clean.
  * Add a nova-ajax-console-proxy package.
  * Add Recommends: ajaxterm to nova-compute, so that nova-ajax-console-
    proxy will have something to connect to.
  * Stop depending on aoetools. iscsi is the default nowadays (and has
    been for a while).
  * Move dependency on open-iscsi from nova-volume to nova-compute.
    They're client tools, so that's where they belong.
  * Add a build-depends on python-suds.
  * Add logrote config for nova-ajax-console-proxy.
  * Add upstart job for nova-ajax-console-proxy.
 -- Chuck Short <email address hidden> Thu, 31 Mar 2011 11:25:10 -0400

Changed in nova (Ubuntu):
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
status: Fix Committed → Fix Released
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.