Bug 1057873 - libguestfs df/ subdirectory tests fail occasionally
Summary: libguestfs df/ subdirectory tests fail occasionally
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-25 15:46 UTC by Richard W.M. Jones
Modified: 2021-04-19 10:35 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
log file from failing test (665.01 KB, text/plain)
2014-01-25 15:46 UTC, Richard W.M. Jones
no flags Details
df.log (682.04 KB, text/plain)
2014-01-28 09:06 UTC, Richard W.M. Jones
no flags Details

Description Richard W.M. Jones 2014-01-25 15:46:02 UTC
Created attachment 855418 [details]
log file from failing test

Description of problem:

The libguestfs test suite for the 'virt-df' tool fails occasionally.

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

libguestfs 1.25.28 (but also earlier versions)

How reproducible:

100%

Steps to Reproduce:

1. Checkout, build libguestfs from git.

2. Do a full 'make check' first.

3. Then run the following command which does the virt-df
tests repeatedly until they fail:

while make -C df check LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 >& /tmp/log
do
  echo -n .
done

Actual results:

After many iterations you will see a failure.  See the log
file attached.

Expected results:

Should never fail.

Additional information:

I believe this test fails in more than one different way.
The log file shows one type of failure.

Comment 1 Richard W.M. Jones 2014-01-25 15:47:32 UTC
Potentially related to:
https://bugzilla.redhat.com/show_bug.cgi?id=1025942
(maybe even a dupe) but I believe the failures are different.

Comment 2 Richard W.M. Jones 2014-01-25 15:50:53 UTC
I should have checked the log file.  The failure in this log file
is a dupe of the libvirt monitor timeout bug 987088.

Comment 3 Richard W.M. Jones 2014-01-28 09:06:36 UTC
Created attachment 856439 [details]
df.log

Log file of a failure after about 200 runs of make check.

The error seems to be:
libguestfs: error: appliance closed the connection unexpectedly, see earlier error messages
libguestfs: child_cleanup: 0x7f85b0002b30: child process died

It's not clear what the earlier failure was, but as this is all
running using KVM on a fast machine it shouldn't have been a timeout.


Note You need to log in before you can comment on or make changes to this bug.