coverage report files with message 'No data to report.'

Bug #1651029 reported by dharmendra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Low
dharmendra

Bug Description

dkushwaha@dkushwaha-virtual-machine:~/codeup/t1/tacker$ tox -ecover
cover develop-inst-noop: /home/dkushwaha/codeup/t1/tacker
cover installed: alabaster==0.7.9,alembic==0.8.9,amqp==1.4.9,anyjson==0.3.3,appdirs==1.4.0,Babel==2.3.4,beautifulsoup4==4.5.1,cachetools==2.0.0,cffi==1.9.1,chardet==2.3.0,cliff==2.3.0,cmd2==0.6.9,contextlib2==0.5.4,coverage==4.2,cryptography==1.7.1,debtcollector==1.10.0,decorator==4.0.10,doc8==0.7.0,docutils==0.12,enum34==1.1.6,eventlet==0.19.0,extras==1.0.0,fasteners==0.14.1,fixtures==3.0.0,flake8==2.2.4,funcsigs==1.0.2,functools32==3.2.3.post2,futures==3.0.5,futurist==0.20.0,greenlet==0.4.10,hacking==0.10.2,heat-translator==0.6.0,httplib2==0.9.2,idna==2.1,ipaddress==1.0.17,iso8601==0.1.11,Jinja2==2.8,jsonpatch==1.14,jsonpointer==1.10,jsonschema==2.5.1,keystoneauth1==2.16.0,keystonemiddleware==4.12.0,kombu==3.0.37,linecache2==1.0.0,Mako==1.0.6,MarkupSafe==0.23,mccabe==0.2.1,mock==2.0.0,monotonic==1.2,mox3==0.18.0,msgpack-python==0.4.8,netaddr==0.7.18,netifaces==0.10.5,openstackdocstheme==1.5.0,ordereddict==1.1,os-api-ref==1.1.0,os-client-config==1.24.0,os-testr==0.8.0,osc-lib==1.2.0,oslo.concurrency==3.16.0,oslo.config==3.21.0,oslo.context==2.11.0,oslo.db==4.16.0,oslo.i18n==3.11.0,oslo.log==3.19.0,oslo.messaging==5.15.0,oslo.middleware==3.22.0,oslo.policy==1.17.0,oslo.rootwrap==5.3.0,oslo.serialization==2.15.0,oslo.service==1.18.0,oslo.utils==3.20.0,oslosphinx==4.9.0,oslotest==2.12.0,paramiko==2.1.1,Paste==2.0.3,PasteDeploy==1.5.2,pbr==1.10.0,pep8==1.5.7,pika==0.10.0,pika-pool==0.1.3,positional==1.1.1,prettytable==0.7.2,pyasn1==0.1.9,pycadf==2.4.0,pycparser==2.17,pyflakes==0.8.1,Pygments==2.1.3,pyinotify==0.9.6,pyparsing==2.1.10,python-dateutil==2.6.0,python-editor==1.0.3,python-glanceclient==2.5.0,python-heatclient==1.7.0,python-keystoneclient==3.8.0,python-mimeparse==1.6.0,python-neutronclient==6.0.0,python-novaclient==6.0.0,python-subunit==1.2.0,python-swiftclient==3.2.0,python-tackerclient==0.7.0,pytz==2016.10,PyYAML==3.12,reno==1.9.0,repoze.lru==0.6,requests==2.12.4,requestsexceptions==1.1.3,restructuredtext-lint==0.17.2,rfc3986==0.4.1,Routes==2.3.1,setuptools-git==1.1,simplejson==3.10.0,six==1.10.0,snowballstemmer==1.2.1,Sphinx==1.3.6,sphinx-rtd-theme==0.1.9,SQLAlchemy==1.0.16,sqlalchemy-migrate==0.10.0,sqlparse==0.2.2,stevedore==1.19.1,-e git+https://github.com/openstack/tacker.git@c91f67f4935f3fa14498c81f4784bca7418cb7f3#egg=tacker,tempest==13.0.0,Tempita==0.5.2,tenacity==3.6.0,testrepository==0.0.20,testscenarios==0.5.0,testtools==2.2.0,tosca-parser==0.6.0,traceback2==1.4.0,unicodecsv==0.14.1,unittest2==1.1.0,urllib3==1.19.1,waitress==1.0.1,warlock==1.2.0,WebOb==1.6.3,WebTest==2.0.24,wrapt==1.10.8
cover runtests: PYTHONHASHSEED='3077156301'
cover runtests: commands[0] | coverage erase
cover runtests: commands[1] | python setup.py testr --coverage --testr-args=
running testr
running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_LOG_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./tacker/tests/unit/vm} --list
running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_LOG_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./tacker/tests/unit/vm} --load-list /tmp/tmp1F3lQU
running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_LOG_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./tacker/tests/unit/vm} --load-list /tmp/tmpoEoWbL
Unable to reach to the url http://a.b.c.d:80
Unable to reach to the url http://a.b.c.d:80
Unable to reach to the url http://a.b.c.d:80
Unable to reach to the url http://a.b.c.d:80
Unable to reach to the url http://a.b.c.d:80
Cannot ping ip address: a.b.c.d
Ran 118 tests in 7.561s (-5.542s)
PASSED (id=1)
cover runtests: commands[2] | coverage combine
cover runtests: commands[3] | coverage html --include=tacker/* -d covhtml -i
No data to report.
ERROR: InvocationError: '/home/dkushwaha/codeup/t1/tacker/.tox/cover/bin/coverage html --include=tacker/* -d covhtml -i'
_______________________________________________________________________________ summary ________________________________________________________________________________
ERROR: cover: commands failed

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

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

Changed in tacker:
status: New → In Progress
Changed in tacker:
importance: Undecided → Low
milestone: none → ocata-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.openstack.org/412285
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=92e4b47661ded5af6e352881278b052611ce8c86
Submitter: Jenkins
Branch: master

commit 92e4b47661ded5af6e352881278b052611ce8c86
Author: dharmendra <email address hidden>
Date: Mon Dec 19 11:01:29 2016 +0530

    Fix 'No data to report' error in coverage.

    Remove unnecessary commands in 'testenv:cover' of tox.ini.
    HTML coverage reports can be generated in 'cover' directory by
    'python setup.py testr --coverage' only.

    Change-Id: I6bc205c4a7772a11cd3dc911a52097e62444376f
    Closes-Bug: #1651029

Changed in tacker:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tacker 0.6.0

This issue was fixed in the openstack/tacker 0.6.0 release.

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.