Fix neutron-fwaas cover tests

Bug #1546793 reported by James Arendt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
James Arendt

Bug Description

The tox.ini command for 'tox -e cover' breaks with error:
cover runtests: commands[0] | python setup.py testr --coverage --coverage-package-name=neutron_fwaas --testr-args=
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --coverage-package-name not recognized
ERROR: InvocationError: '/opt/stack/neutron-fwaas/.tox/cover/bin/python setup.py testr --coverage --coverage-package-name=neutron_fwaas --testr-args='
___________________________________ summary ____________________________________
ERROR: cover: commands failed

Appears to be same issue as found in neutron-vpnaas and fixed there under https://review.openstack.org/#/c/217847/

Changed in neutron:
assignee: nobody → James Arendt (james-arendt-7)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-fwaas (master)

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

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-fwaas (master)

Reviewed: https://review.openstack.org/281567
Committed: https://git.openstack.org/cgit/openstack/neutron-fwaas/commit/?id=18ea965fa2026992ddee5e4568bf7d362de89d8a
Submitter: Jenkins
Branch: master

commit 18ea965fa2026992ddee5e4568bf7d362de89d8a
Author: James Arendt <email address hidden>
Date: Fri Feb 12 00:22:30 2016 -0800

    Fix neutron-fwaas cover tests

    The tox.ini command for 'tox -e cover' breaks with error:
    error: option --coverage-package-name not recognized

    Appears to be same issue as found in neutron-vpnaas and fixed
    there under https://review.openstack.org/#/c/217847/

    Applying same fix to neutron-fwaas.

    Same logic applies to 'tox -e cover-constraints', though
    because upstream changed 'upper-constraints.txt' eventlet
    to 0.18.3 in middle had to set to local stack value to run:
    export UPPER_CONSTRAINTS_FILE=/opt/stack/requirements/
    upper-constraints.txt

    Closes-Bug: #1546793
    Change-Id: I82fde90d1ed17f2495f8560b8e56febc10e3013c

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/neutron-fwaas 8.0.0.0b3

This issue was fixed in the openstack/neutron-fwaas 8.0.0.0b3 development milestone.

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.