Bug 1025942

Summary: Parallel virt-df and virt-alignment-scan tests sometimes deadlock
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecified   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
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:    
Bug Blocks: 1076478    
Attachments:
Description Flags
build.log none

Description Richard W.M. Jones 2013-11-02 08:27:18 UTC
Created attachment 818562 [details]
build.log

Description of problem:

virt-df and virt-alignment-scan tools normally run with
multiple threads, up to 12.  These tools are tested by
the libguestfs test suite, ie. 'make check'.

When running the libguestfs test suite, there is a deadlock
happening which causes these tests to fail.  It mostly happens
when the tests run in Koji.

See the attached build log for a typical example.

Version-Release number of selected component (if applicable):

libguestfs 1.24 & 1.25

How reproducible:

Quite often but not 100%

Steps to Reproduce:
1. Run 'make check -C df' and/or 'make check -C align'

Comment 1 Richard W.M. Jones 2014-01-25 15:47:52 UTC
See also:
https://bugzilla.redhat.com/show_bug.cgi?id=1057873