[Libvirt-ci] Errored: libvirt/libvirt#1294 (master - 5276ec7)

Travis CI builds at travis-ci.org
Thu May 31 13:49:06 UTC 2018


Build Update for libvirt/libvirt
-------------------------------------

Build: #1294
Status: Errored

Duration: 18 mins and 24 secs
Commit: 5276ec7 (master)
Author: Michal Privoznik
Message: testUpdateQEMUCaps: Don't leak host cpuData

When preparing qemuCaps for test cases the following is
happening:

qemuTestParseCapabilitiesArch() is called, which calls
virQEMUCapsLoadCache() which in turn calls
virQEMUCapsInitHostCPUModel() which sets qemuCaps->kvmCPU and
qemuCaps->tcgCPU.

But then the code tries to update the capabilities:

testCompareXMLToArgv() calls testUpdateQEMUCaps() which calls
virQEMUCapsInitHostCPUModel() again overwriting previously
allocated memory. The solution is to free host cpuData in
testUpdateQEMUCaps().

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
Reviewed-by: Jiri Denemark <jdenemar at redhat.com>

View the changeset: https://github.com/libvirt/libvirt/compare/cc9c75f562f2...5276ec712a44

View the full build log and details: https://travis-ci.org/libvirt/libvirt/builds/386180623?utm_source=email&utm_medium=notification

--

You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications







This email was sent to libvirt-ci at redhat.com (mailto:libvirt-ci at redhat.com)
unsubscribe from this list (http://clicks.travis-ci.com/track/unsub.php?u=14313403&id=201f472882be4527ac44bc97ce6b4073.q3yTAF39gfjNcLjHva7iXjXSQZI%3D&r=https%3A%2F%2Fmandrillapp.com%2Funsub%3Fmd_email%3Dlibvirt-ci%2540redhat.com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-ci/attachments/20180531/422cb748/attachment.htm>


More information about the Libvirt-ci mailing list