Test discovery is broken for the api and functional paths

Bug #1446405 reported by Maru Newby
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Unassigned
Kilo
Fix Released
Undecided
Unassigned

Bug Description

The following failures in test discovery were noted:

https://review.openstack.org/#/c/169962/
https://bugs.launchpad.net/neutron/+bug/1443480

It was eventually determined that the use of the unittest discovery mechanism to perform manual discovery in package init for the api and functional subtrees was to blame.

Maru Newby (maru)
tags: added: kilo-backport-potential
Changed in neutron:
assignee: nobody → Maru Newby (maru)
importance: Undecided → High
Changed in neutron:
status: New → In Progress
Changed in neutron:
milestone: none → liberty-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/171874
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=4000b18275112a0c9e3aa055fbaea634ac89a382
Submitter: Jenkins
Branch: master

commit 4000b18275112a0c9e3aa055fbaea634ac89a382
Author: Maru Newby <email address hidden>
Date: Fri Apr 17 23:49:09 2015 +0000

    Fix test discovery for api and functional paths

    The use of the builtin unittest test loader was silently dropping tests
    that couldn't be imported.

    This change also drops the retargetable path from discovery in the api
    path due to a previously-masked configuration problem, and fixes an
    invalid import in a functional testing fixture module.

    Fullstack tests are also disabled temporarily pending a fix for #1446261.

    Change-Id: Ie44e45c117bd864538e7919dfcf499091fde7752
    Related-Bug: #1440834
    Related-Bug: #1443480
    Closes-Bug: #1446405

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/178301

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (neutron-pecan)

Fix proposed to branch: neutron-pecan
Review: https://review.openstack.org/185072

Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/kilo)

Reviewed: https://review.openstack.org/178301
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ae5ffa3f9febea198be580c60fcd83e492c26547
Submitter: Jenkins
Branch: stable/kilo

commit ae5ffa3f9febea198be580c60fcd83e492c26547
Author: Maru Newby <email address hidden>
Date: Fri Apr 17 23:49:09 2015 +0000

    Fix test discovery for api and functional paths

    The use of the builtin unittest test loader was silently dropping tests
    that couldn't be imported.

    This change also drops the retargetable path from discovery in the api
    path due to a previously-masked configuration problem, and fixes an
    invalid import in a functional testing fixture module.

    Fullstack tests are also disabled temporarily pending a fix for #1446261.

    Note:
    - fullstack tests are not really working in Kilo, so it's fine to
      disable them for the branch.

    Change-Id: Ie44e45c117bd864538e7919dfcf499091fde7752
    Related-Bug: #1440834
    Related-Bug: #1443480
    Closes-Bug: #1446405
    (cherry picked from commit 4000b18275112a0c9e3aa055fbaea634ac89a382)

tags: added: in-stable-kilo
Maru Newby (maru)
Changed in neutron:
assignee: Maru Newby (maru) → nobody
Thierry Carrez (ttx)
Changed in neutron:
milestone: liberty-1 → 7.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.