nova testsuite fails in the buildds.

Bug #712481 reported by Chuck Short on 2011-02-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Low
Soren Hansen
nova (Ubuntu)
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

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

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/

Thierry Carrez (ttx) wrote :

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

Thierry Carrez (ttx) on 2011-02-18
Changed in nova (Ubuntu):
importance: Undecided → High
status: New → Incomplete
Thierry Carrez (ttx) on 2011-03-16
Changed in nova:
assignee: nobody → Soren Hansen (soren)
importance: Undecided → Low
status: Incomplete → In Progress
Soren Hansen (soren) on 2011-03-16
Changed in nova (Ubuntu):
assignee: nobody → Soren Hansen (soren)
status: Incomplete → In Progress
Thierry Carrez (ttx) on 2011-03-21
Changed in nova:
status: In Progress → Fix Committed
Soren Hansen (soren) on 2011-03-23
Changed in nova (Ubuntu):
status: In Progress → Fix Committed
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) on 2011-04-15
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  Edit
Everyone can see this information.

Other bug subscribers