ShaoHe Feng has posted comments on this change.
Change subject: add a json rpc funtional test which sets up a VM
......................................................................
Patch Set 4: (1 inline comment)
....................................................
File tests/functional/jsonrpcTests.py
Line 109: kernelArgsDistro['rhel'] = kernelArgsDistro['fedora']
Line 110: if distro.lower() not in kernelArgsDistro:
Line 111: raise SkipTest("Don't know how to perform direct kernel
boot for "
Line 112: "%s" % distro)
Line 113:
Adam, I have rebase this series patch to you latest yajson. And I can access test for the
kernel and initrd.
what's your error log about this test?
$ getenforce
Enforcing
$ PYTHONPAT=/usr/share/vdsm ./run_tests.sh functional/jsonrpcTests.py
nose.config: INFO: Ignoring files matching ['^\\.', '^_',
'^setup\\.py$']
jsonRPCTest
testHostPing OK
testStartEmptyVM OK
testStartSmallVM OK
----------------------------------------------------------------------
Ran 3 tests in 62.630s
OK
Line 114: template = {'vmId':
'11111111-abcd-2222-ffff-333333333333',
Line 115: 'vmName': 'vdsmKernelBootVM',
Line 116: 'display': 'vnc',
Line 117: 'kvmEnable': 'true',
--
To view, visit
http://gerrit.ovirt.org/11386
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I734614fdc9515e2883004aceafb36291ee44e59a
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: ShaoHe Feng <shaohef(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Adam Litke <agl(a)us.ibm.com>
Gerrit-Reviewer: ShaoHe Feng <shaohef(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Zhou Zheng Sheng <zhshzhou(a)linux.vnet.ibm.com>
Gerrit-Reviewer: oVirt Jenkins CI Server