VPNaaS Functional job test module discovery

Bug #1445056 reported by Paul Michali
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Paul Michali

Bug Description

With the current functional job setups, if there are import errors in test modules, the errors will be silently ignored and tests not invoked. Apparently there is an issue with the unittest package and import errors.

Because VPNaaS has two reference driver implementations currently, and they each require a different test setup and have test cases that differ, there are two functional jobs, of which each tests different modules.

Need to switch to unittest2, or modify the method used to discovery modules to run in the functional jobs.

Tags: vpnaas
Paul Michali (pcm)
Changed in neutron:
assignee: nobody → Paul Michali (pcm)
status: New → In Progress
Kyle Mestery (mestery)
Changed in neutron:
milestone: none → liberty-1
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-vpnaas (master)

Reviewed: https://review.openstack.org/172142
Committed: https://git.openstack.org/cgit/openstack/neutron-vpnaas/commit/?id=0782a2ba25cd8fce8c735c84fadd2fa9b670f418
Submitter: Jenkins
Branch: master

commit 0782a2ba25cd8fce8c735c84fadd2fa9b670f418
Author: Paul Michali <email address hidden>
Date: Wed Apr 15 17:52:25 2015 -0400

    VPNaaS: Refactor functional tests to use discover

    Reworking so that modules with import errors are not silently
    ignored (which was happening when using unitttest for loading
    modules).

    Verified that for each of the two functional jobs, the associated
    modules are tested (some driver specific, some common).

    Change-Id: I240a66cddb64dec7c6954bc249e69b2c9ed9628f
    Closes-Bug: #1445056

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

Other bug subscribers

Remote bug watches

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