Zhou Zheng Sheng 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:
In recent Fedora updates, kernel and initramfs is only readable by root. In
xmlrpcTests.py, function kernelBootImages(), there is an access check for the readability
and SkipTest if it can not be read. This function is moved to functionalUtils.py.
functionalUtils.py is in the
http://gerrit.ovirt.org/#/c/11385/5/tests/functional/functionalUtils.py .
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