
On Sat, Oct 5, 2019 at 9:19 AM Edward Haas <edwardh@redhat.com> wrote:
On Fri, Oct 4, 2019 at 9:56 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Fri, Oct 4, 2019 at 9:44 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Fri, Oct 4, 2019 at 9:32 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Fri, Oct 4, 2019 at 8:50 PM Nir Soffer <nsoffer@redhat.com> wrote:
Looks like wrong coverage report:
---------- coverage: platform linux2, python 2.7.16-final-0 ---------- Coverage HTML written to dir htmlcov-network-py27 FAIL Required test coverage of 38% not reached. Total coverage: 0.00%
Also on jenkins: https://jenkins.ovirt.org/job/vdsm_standard-check-patch/12604/ <https://jenkins.ovirt.org/job/vdsm_standard-check-patch/12604//artifact/check-patch.tests-py27.el7.x86_64/mock_logs/script/stdout_stderr.log> https://jenkins.ovirt.org/job/vdsm_standard-check-patch/12603/
----------- coverage: platform linux, python 3.7.4-final-0 -----------
Coverage HTML written to dir htmlcov-network-py37
FAIL Required test coverage of 42% not reached. Total coverage: 0.00%
Looking at exported artifacts, we don't write now the coverage reports:
https://jenkins.ovirt.org/job/vdsm_standard-check-patch/12604/artifact/check...
This will fail any vdsm patch.
Looks like this issue, filed 1 hour ago: https://github.com/pytest-dev/pytest-cov/issues/348
The latest pytest-cov is broken. I fixed the plugin version [1] and it seems to work now.
Thanks! We can require 2.8.1 now, fixing this issue: https://gerrit.ovirt.org/c/103876/