75% of tests not running

Bug #900514 reported by Dolph Mathews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Critical
Ziad Sawalha

Bug Description

A recent update to our test runner is causing the majority of tests to be skipped when run via ./run_tests.sh:

   https://github.com/openstack/keystone/commit/1778dcf00668b3e1a48f21a3919c39a91a436b5c

Here are the jenkins unit test console logs immediately before and after this patch was applied:

    Before (472 tests run): https://jenkins.openstack.org/view/Keystone/job/gate-keystone-unittests/58/console

    After (115 tests run): https://jenkins.openstack.org/view/Keystone/job/gate-keystone-unittests/59/console

357 tests are unaccounted for.

Revision history for this message
Dolph Mathews (dolph) wrote :

Immediate workaround for developers...

Start keystone manually:

    ./bin/keystone

In a new shell, run tests manually (using python 2.7's unittest, instead of nose):

    unit2 discover keystone -v

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/2092
Committed: http://github.com/openstack/keystone/commit/fb70b8cde352bd00d737e13b94fbaacde84ff7e9
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit fb70b8cde352bd00d737e13b94fbaacde84ff7e9
Author: Ziad Sawalha <email address hidden>
Date: Mon Dec 5 19:17:38 2011 -0600

    Fixes missed tests and subsequently introduced bugs

    - bug 900514 fixed: some test files were marked as
      executable. Nose by default skips those. They've
      been reset to 644.
    - bug 900525 was introduced in the refactoring of
      the backend code. The test was not impacted but
      the load fixture code was. This has been addressed
      and the test passes again. No nchanges needed to
      the code being tested (i.e. no bugs introduced)

    Change-Id: I87ee799a47f90c383e181d203fd783c77fa4b3e5

Changed in keystone:
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: essex-2 → 2012.1
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.