Yoav Kleinberger has uploaded a new change for review.
Change subject: tests: use 'localhost' explicitly in test
......................................................................
tests: use 'localhost' explicitly in test
Previously tests could on some machines (in case the machine has a
non-default hostname). Now, since we use 'localhost' explicitly, this
will not happen.
Change-Id: I89990cff46e64120262e250eee9238b49c4edee4
Signed-off-by: Yoav Kleinberger <ykleinbe(a)redhat.com>
---
M tests/functional/storageTests.py
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/07/28107/1
diff --git a/tests/functional/storageTests.py b/tests/functional/storageTests.py
index 80ba312..76ca91d 100644
--- a/tests/functional/storageTests.py
+++ b/tests/functional/storageTests.py
@@ -79,7 +79,8 @@
isSSL = config.getboolean('vars', 'ssl')
if isSSL and os.geteuid() != 0:
raise SkipTest("Must be root to use SSL connection to server")
- self.s = vdscli.connect(useSSL=isSSL)
+ address = 'localhost:%s' % config.get('addresses', 'management_port')
+ self.s = vdscli.connect(hostPort=address, useSSL=isSSL)
def assertVdsOK(self, vdsResult):
# code == 0 means OK
--
To view, visit http://gerrit.ovirt.org/28107
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I89990cff46e64120262e250eee9238b49c4edee4
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yoav Kleinberger <ykleinbe(a)redhat.com>
Vinzenz Feenstra has uploaded a new change for review.
Change subject: virt: Don't warn about unknown type for channel devices
......................................................................
virt: Don't warn about unknown type for channel devices
We're currently issuing warnings in the VDSM logs for channel devices:
Thread-38551::WARNING::2014-08-07
08:40:26,595::vm::2059::vm.Vm::(buildConfDevices)
vmId=`97ca14a3-1502-4ac6-bb48-ba9dcd8179d2`::Unknown type found, device:
'{'device': 'unix', 'alias': 'channel0', 'type': 'channel', 'address': {'bus':
'0', 'controller': '0', 'type': 'virtio-serial', 'port': '1'}}' found
These warnings are not supposed to be issues as we do just do not maintain
them. This patch changes this to not warn in those cases.
Change-Id: Id391770f9f51a9190035f71a3487271d4062fa67
Bug-Url: https://bugzilla.redhat.com/1128881
Signed-off-by: Vinzenz Feenstra <vfeenstr(a)redhat.com>
---
M vdsm/virt/vm.py
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/88/46788/1
diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index 601fa9c..793f1e7 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -465,8 +465,9 @@
try:
devices[dev['type']].append(dev)
except KeyError:
- self.log.warn("Unknown type found, device: '%s' "
- "found", dev)
+ if 'type' not in dev or dev['type'] != 'console':
+ self.log.warn("Unknown type found, device: '%s' "
+ "found", dev)
devices[hwclass.GENERAL].append(dev)
if not devices[hwclass.GRAPHICS]:
--
To view, visit https://gerrit.ovirt.org/46788
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id391770f9f51a9190035f71a3487271d4062fa67
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <vfeenstr(a)redhat.com>
Nir Soffer has uploaded a new change for review.
Change subject: automation: Disable tcTests and netinfoTests correctly
......................................................................
automation: Disable tcTests and netinfoTests correctly
These tests were incorrectly disabled using NOSE_EXCLUDE, disabling also
one of the tests in utilsTests.py. Now we use NOSE_EXCLUDE_FILES to
exclude files.
Change-Id: I3be2fe5774ec7f964416e02f809f44263e7d5644
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
M automation/check-patch.sh
1 file changed, 2 insertions(+), 10 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/41/46641/1
diff --git a/automation/check-patch.sh b/automation/check-patch.sh
index 15707e8..6e457c0 100755
--- a/automation/check-patch.sh
+++ b/automation/check-patch.sh
@@ -2,16 +2,8 @@
set -xe
-# this redefines 'ugly' but looks like NOSE_EXCLUDE works at test method level,
-# not at module neither at testcase level, so we have no choice but this.
-export NOSE_EXCLUDE="\
-.*testGetBondingOptions.*|\
-testMirroring.*|\
-testToggleIngress|\
-testException|\
-testQdiscsOfDevice|\
-testReplacePrio\
-"
+# TODO: check why these are disabled
+export NOSE_IGNORE_FILES="tcTests.py|netinfoTests.py"
./autogen.sh --system --enable-hooks
make check
--
To view, visit https://gerrit.ovirt.org/46641
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3be2fe5774ec7f964416e02f809f44263e7d5644
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer(a)redhat.com>
Nir Soffer has uploaded a new change for review.
Change subject: atomation: Remove commented code
......................................................................
atomation: Remove commented code
We don't keep commented code in vdsm.
Change-Id: I3a3bf8c82ce38afe064a0941e7e9af550e39dc2b
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
M automation/check-patch.sh
1 file changed, 0 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/39/46639/1
diff --git a/automation/check-patch.sh b/automation/check-patch.sh
index 76b194b..15707e8 100755
--- a/automation/check-patch.sh
+++ b/automation/check-patch.sh
@@ -2,9 +2,6 @@
set -xe
-# Nose 1.3.0 and later segatult with this flag
-#export NOSE_WITH_XUNIT=1
-
# this redefines 'ugly' but looks like NOSE_EXCLUDE works at test method level,
# not at module neither at testcase level, so we have no choice but this.
export NOSE_EXCLUDE="\
--
To view, visit https://gerrit.ovirt.org/46639
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a3bf8c82ce38afe064a0941e7e9af550e39dc2b
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer(a)redhat.com>