Bug 951235

Summary: race in libvirt testsuite could prevent a successful rpm build
Product: Red Hat Enterprise Linux 6 Reporter: Chris Pelland <cpelland>
Component: libvirtAssignee: Jiri Denemark <jdenemar>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.4CC: abienven, acathrow, cpelland, dyasny, dyuan, eblake, honzhang, jdenemar, mjenner, mzhan, pm-eus, rwu
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-0.10.2-18.el6_4.4 Doc Type: Bug Fix
Doc Text:
When running the libvirt test suite on a machine under heavy load, the test could end up in a deadlock. Since the test suite was run during RPM build, the build never finished if the deadlock happened. This update fixes the handling of an event loop used in the test suite, and the test suite no longer hangs in the described scenario.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-18 15:55:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 951227    
Bug Blocks:    

Description Chris Pelland 2013-04-11 17:52:40 UTC
This bug has been copied from bug #951227 and has been proposed
to be backported to 6.4 z-stream (EUS).

Comment 4 Jiri Denemark 2013-04-11 18:14:23 UTC
Backported patch sent for review: http://post-office.corp.redhat.com/archives/rhvirt-patches/2013-April/msg00247.html

Comment 6 hongming 2013-04-16 03:08:24 UTC
Verify it as follows. The result is expected, so move its status to VERIFIED.

# rpmbuild --rebuild libvirt-0.10.2-18.el6_4.4.src.rpm


......


Wrote: /root/rpmbuild/RPMS/x86_64/libvirt-0.10.2-18.el6.4.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/libvirt-client-0.10.2-18.el6.4.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/libvirt-devel-0.10.2-18.el6.4.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/libvirt-lock-sanlock-0.10.2-18.el6.4.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/libvirt-python-0.10.2-18.el6.4.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/libvirt-debuginfo-0.10.2-18.el6.4.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7EGqYd
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd libvirt-0.10.2
+ rm -fr /root/rpmbuild/BUILDROOT/libvirt-0.10.2-18.el6_4.4.x86_64
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.eEHsxU
+ umask 022
+ cd /root/rpmbuild/BUILD
+ rm -rf libvirt-0.10.2
+ exit 0

Comment 8 errata-xmlrpc 2013-04-18 15:55:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0756.html