Keystone unit tests trying to use git clone

Bug #1371428 reported by Thomas Goirand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Morgan Fainberg

Bug Description

This bug is the 2nd instance of https://bugs.launchpad.net/keystone/+bug/948495, 2 years later.

Its looking like keystone is fetching python-keystoneclient from git, in order to run its unit tests. This is not possible when running during the build of the Debian package.

The result is that all keystone.tests.test_keystoneclient.KcMasterTestCase.* unit tests are failing, as per this build log:
https://117.121.243.214/job/keystone/36/console

One way to test it would be to completely disable these if git isn't available (which is the case when running in a minimal chroot build environment).

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/122753

Changed in keystone:
assignee: nobody → Brant Knudson (blk-u)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in keystone:
assignee: Brant Knudson (blk-u) → Morgan Fainberg (mdrnstm)
Changed in keystone:
status: In Progress → Confirmed
importance: Undecided → Medium
milestone: none → juno-rc1
status: Confirmed → In Progress
importance: Medium → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystone (master)

Change abandoned by Brant Knudson (<email address hidden>) on branch: master
Review: https://review.openstack.org/122753
Reason: see https://review.openstack.org/#/c/122768/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

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

commit bd3b5ce25f4da159de9ee591a4237865f407d7e8
Author: Morgan Fainberg <email address hidden>
Date: Fri Sep 19 08:12:23 2014 -0700

    Do not run git-cloned ksc master tests when local client specified

    There is no reason to run both the KSC Master test and a locally
    specified keystoneclient. If the local keystoneclient path is set
    only use the KcOptTestCase not the KcMasterTestCase.

    Change-Id: Ib9a1e06b2e760a97e3318263b85631c436e23141
    Closes-bug: #1371428

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