From Dan Kenigsberg <danken(a)redhat.com>:
Dan Kenigsberg has uploaded a new change for review.
Change subject: automation: check-patch: make pylint on each patch
......................................................................
automation: check-patch: make pylint on each patch
I'm not sure that this long test should be run on each and every patch,
but let us consider this.
Change-Id: Ib4f2f2ec78439ef560b305436160c3140b68e9f2
Signed-off-by: Dan Kenigsberg <danken(a)redhat.com>
---
M automation/check-patch.sh
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/46/69346/1
diff --git a/automation/check-patch.sh b/automation/check-patch.sh
index a866771..a401053 100755
--- a/automation/check-patch.sh
+++ b/automation/check-patch.sh
@@ -15,6 +15,7 @@
debuginfo-install -y python
TIMEOUT=600 make check NOSE_WITH_COVERAGE=1 NOSE_COVER_PACKAGE="$PWD/vdsm,$PWD/lib"
+make pylint
# Generate coverage report in HTML format
pushd tests
--
To view, visit https://gerrit.ovirt.org/69346
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib4f2f2ec78439ef560b305436160c3140b68e9f2
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken(a)redhat.com>
From Yaniv Bronhaim <ybronhei(a)redhat.com>:
Yaniv Bronhaim has posted comments on this change.
Change subject: [RFC] procutils: Introduce the procutils module
......................................................................
Patch Set 2:
(5 comments)
https://gerrit.ovirt.org/#/c/74927/2//COMMIT_MSG
Commit Message:
Line 3: AuthorDate: 2017-03-28 03:38:45 +0300
Line 4: Commit: Nir Soffer <nsoffer(a)redhat.com>
Line 5: CommitDate: 2017-03-31 05:18:48 +0300
Line 6:
Line 7: [RFC] procutils: Introduce the procutils module
rpc means request for comments here? we usually use WIP or drafts
Line 8:
Line 9: This module provide utilities for working with subprocesses.
Line 10:
Line 11: The first utility is procutils.communicate(), replacing both AsyncProc,
Line 5: CommitDate: 2017-03-31 05:18:48 +0300
Line 6:
Line 7: [RFC] procutils: Introduce the procutils module
Line 8:
Line 9: This module provide utilities for working with subprocesses.
what else do you see in this module? why not to add timed_communicate as you suggested in the past? is this part copied from Popen.communicate py3 implementation?
Line 10:
Line 11: The first utility is procutils.communicate(), replacing both AsyncProc,
Line 12: and CommandStream. This function allows reading from 2 streams in the
Line 13: same time, without using callbacks as in CommandStream, and avoiding the
Line 8:
Line 9: This module provide utilities for working with subprocesses.
Line 10:
Line 11: The first utility is procutils.communicate(), replacing both AsyncProc,
Line 12: and CommandStream. This function allows reading from 2 streams in the
write here where its needed
Line 13: same time, without using callbacks as in CommandStream, and avoiding the
Line 14: performance issues and complexity of AsyncProc.
Line 15:
Line 16: procutils.communicate() does not support writing to and reading from a
Line 35: test_asyncproc_read 1.00g in 17.02 seconds (0.06g/s) OK
Line 36: test_asyncproc_write 1.00g in 13.71 seconds (0.07g/s) OK
Line 37: test_plain_read 1.00g in 0.45 seconds (2.22g/s) OK
Line 38: test_read 1.00g in 0.53 seconds (1.89g/s) OK
Line 39: test_write 1.00g in 0.49 seconds (2.04g/s) OK
g is gb ? where is the comparation here?
Line 40:
Line 41: Change-Id: I7d193caa5da0ed564b4fab12aa85e3751f1a1df7
Line 36: test_asyncproc_write 1.00g in 13.71 seconds (0.07g/s) OK
Line 37: test_plain_read 1.00g in 0.45 seconds (2.22g/s) OK
Line 38: test_read 1.00g in 0.53 seconds (1.89g/s) OK
Line 39: test_write 1.00g in 0.49 seconds (2.04g/s) OK
Line 40:
should this function replace all communicate calls?
Line 41: Change-Id: I7d193caa5da0ed564b4fab12aa85e3751f1a1df7
--
To view, visit https://gerrit.ovirt.org/74927
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I7d193caa5da0ed564b4fab12aa85e3751f1a1df7
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: Adam Litke <alitke(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
Gerrit-HasComments: Yes
From Dan Kenigsberg <danken(a)redhat.com>:
Dan Kenigsberg has posted comments on this change.
Change subject: vdsm-tool: Introducing firewalld configurator
......................................................................
Patch Set 7: Code-Review-1
(4 comments)
https://gerrit.ovirt.org/#/c/74883/7/automation/build-artifacts.packages.fc…
File automation/build-artifacts.packages.fc24:
Line 14: python-coverage
Line 15: python2-decorator
Line 16: python-dateutil
Line 17: python-devel
Line 18: python-firewall
why bother with f24? we should kick it off master.
Line 19: python-nose
Line 20: python-inotify
Line 21: python-ioprocess
Line 22: python-mock
https://gerrit.ovirt.org/#/c/74883/7/automation/build-artifacts.packages.fc…
File automation/build-artifacts.packages.fc25:
Line 15: python2-decorator
Line 16: python2-dateutil
Line 17: python3-dateutil
Line 18: python-devel
Line 19: python-firewall
I suspect you need python3-firewall to avoid CI-1
14:44:54 from firewall.client import FirewallClient
14:44:54 ImportError: No module named 'firewall'
Line 20: python-nose
Line 21: python-inotify
Line 22: python-ioprocess
Line 23: python-mock
https://gerrit.ovirt.org/#/c/74883/7/lib/vdsm/tool/configurators/firewalld.…
File lib/vdsm/tool/configurators/firewalld.py:
Line 31: 'ssh',
Line 32: # TODO: add remaining services
Line 33: )
Line 34:
Line 35: OPTIONAL_SERVICES = (
we don't have "optional services". We have two options: virt and gluster.
try:
import vdsm.gluster.api
except ImportError:
pass
else:
REQUIRED_SERVICE += (glusterfs, ...)
would be enough.
Line 36: 'glusterfs',
Line 37: # TODO: add remaining services
Line 38: )
Line 39:
PS7, Line 67: rpm
we should not bother about RPMs here; I'm still dreaming about Debian port.
--
To view, visit https://gerrit.ovirt.org/74883
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I8b9b5f533de0b609c15a2482b2fba0ae713c3c33
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Leon Goldberg <lgoldber(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
Gerrit-HasComments: Yes
From Dan Kenigsberg <danken(a)redhat.com>:
Dan Kenigsberg has posted comments on this change.
Change subject: network: report dpdk ports as nics
......................................................................
Patch Set 10:
(1 comment)
https://gerrit.ovirt.org/#/c/73987/10/lib/vdsm/network/netinfo/cache.py
File lib/vdsm/network/netinfo/cache.py:
PS10, Line 106: dev.isDPDK()
> frankly, testing
Oh, I see that you had that, and Eddy asked to change it.
let it be, don't change this again :-/
--
To view, visit https://gerrit.ovirt.org/73987
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I67b2083e9c6f032472fd75f6800c864083ffdef5
Gerrit-PatchSet: 10
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Irit Goihman <igoihman(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Edward Haas <edwardh(a)redhat.com>
Gerrit-Reviewer: Irit Goihman <igoihman(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
Gerrit-HasComments: Yes