← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1546793] Re: Fix neutron-fwaas cover tests

 

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 <james.arendt@xxxxxx>
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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1546793

Title:
  Fix neutron-fwaas cover tests

Status in neutron:
  Fix Released

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/

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1546793/+subscriptions


References