transient test failures in test_keystoneclient, missing v2_0

Bug #1301664 reported by Brant Knudson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Critical
Brant Knudson

Bug Description

Keystone unit tests are failing. The usual problem is:

2014-04-02 19:25:13.628 | File "keystone/tests/test_keystoneclient.py", line 81, in _client
2014-04-02 19:25:13.628 | from keystoneclient.v2_0 import client as ks_client
2014-04-02 19:25:13.628 | ImportError: No module named v2_0

This is probably because the tests are running in parallel, and one test is running while another one is still checking out the keystoneclient.

The keystoneclient tests shouldn't be running in parallel.

Brant Knudson (blk-u)
Changed in keystone:
assignee: nobody → Brant Knudson (blk-u)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/84907

Changed in keystone:
status: New → In Progress
Dolph Mathews (dolph)
Changed in keystone:
importance: Undecided → Critical
summary: - test failures in keystoneclient, missing v2_0
+ transient unit test failures in test_keystoneclient, missing v2_0
summary: - transient unit test failures in test_keystoneclient, missing v2_0
+ transient test failures in test_keystoneclient, missing v2_0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/84907
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=b5568546335b840b8b41df756f47bd6d3cce8ae7
Submitter: Jenkins
Branch: master

commit b5568546335b840b8b41df756f47bd6d3cce8ae7
Author: Brant Knudson <email address hidden>
Date: Wed Apr 2 19:19:59 2014 -0500

    Fix parallel unit tests keystoneclient partial checkout

    The unit tests were failing with an error that keystoneclient
    didn't have some modules (usually v2_0). This was because the
    tests were running in separate workers when they should have been
    running in a single worker to ensure that the checkout was done by
    a single worker.

    Change-Id: I33262dd82aaebe8e0ff0f9faf5c5612efb20f551
    Closes-Bug: #1301664

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → juno-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: juno-1 → 2014.2
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.