'cover' tox job fails for option --coverage not recognized

Bug #1724121 reported by junboli
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

$ tox -ecover
cover develop-inst-nodeps: /home/github/qinling
cover installed:
cover runtests: PYTHONHASHSEED='459674246'
cover runtests: commands[0] | python setup.py test --coverage --testr-args=
/home/github/qinling/.tox/cover/local/lib/python2.7/site-packages/setuptools/dist.py:34: DeprecationWarning: Do not call this function
  warnings.warn("Do not call this function", DeprecationWarning)
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 not recognized
ERROR: InvocationError: '/home/github/qinling/.tox/cover/bin/python setup.py test --coverage --testr-args='
__________________________________________________________________________________________________________________ summary __________________________________________________________________________________________________________________
ERROR: cover: commands failed

junboli (junboli)
Changed in qinling:
assignee: nobody → junboli (junboli)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to qinling (master)

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

Changed in qinling:
status: New → In Progress
Lingxian Kong (kong)
Changed in qinling:
importance: Undecided → Medium
milestone: none → queen-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to qinling (master)

Reviewed: https://review.openstack.org/512464
Committed: https://git.openstack.org/cgit/openstack/qinling/commit/?id=eaa667d4df99af853b36a8d137b57e7831fcffbe
Submitter: Zuul
Branch: master

commit eaa667d4df99af853b36a8d137b57e7831fcffbe
Author: junboli <email address hidden>
Date: Tue Oct 17 10:38:04 2017 +0800

    Fix 'cover' tox job fails for option --coverage not recognized

    When running command tox -ecover, tox job will fail. the error message is

    FAIL: process-returncode
    tags: worker-0
    returncode 1
    Ran 733 (+17) tests in 856.852s (+164.804s)
    FAILED (id=6, failures=2, skips=7)
    error: testr failed (1)
    ERROR: InvocationError: '/home/github/mistral/.tox/py27/bin/python setup.py test
    _____________________________________________________ summary __________________
    ERROR: py27: commands failed

    Change-Id: I21a335992683aa94d2cf47c4a4fc0f43849dec9a
    Closes-bug: #1724121

Changed in qinling:
status: In Progress → Fix Released
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.