Bug 1265562 - Spice-gtk incorrectly reports failed file transfer
Spice-gtk incorrectly reports failed file transfer
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: spice-gtk (Show other bugs)
7.2
Unspecified Unspecified
low Severity low
: rc
: 7.3
Assigned To: Jonathon Jongsma
SPICE QE bug list
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-23 04:43 EDT by Tomas Jamrisko
Modified: 2016-11-03 21:10 EDT (History)
8 users (show)

See Also:
Fixed In Version: spice-gtk-0.26-6.el7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-11-03 21:10:32 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tomas Jamrisko 2015-09-23 04:43:44 EDT
Description of problem:
spice-gtk incorrectly reports failed file transfer, even though the transfer completed succesfully.

Version-Release number of selected component (if applicable):
spice-gtk-0.26-5.el7

How reproducible:
~ 70%

Steps to Reproduce:
1. Drag and drop (multiple) files from client to guest and have --spice-debug enabled.

Actual results:
spice-gtk logs File ${name} xfer failed: transfer received success in pending state
Hashes of original and transferred files match

Expected results:
It was a successful transfer
Comment 2 Victor Toso 2015-09-23 04:51:52 EDT
> Actual results:
> spice-gtk logs File ${name} xfer failed: transfer received success in
> pending state
> Hashes of original and transferred files match
> 
> Expected results:
> It was a successful transfer

This does not seem like a bug.
This is a debug message to show that something happened during the file transfer.
Comment 3 Pavel Grunt 2015-09-23 05:57:16 EDT
What is the guest ?
Can you reproduce it with both Windows and RHEL as a guest ?
Comment 5 Tomas Jamrisko 2015-09-23 08:36:15 EDT
(In reply to Victor Toso from comment #2)

> This does not seem like a bug.
> This is a debug message to show that something happened during the file
> transfer.

It happens at the end of file transfer, where "transferred file x of size y in z seconds" is expected (as it happens with some other files). As mentioned, transfer itself is OK, so yes, it's an issue with debug message as Pavel says.
 

(In reply to Pavel Grunt from comment #3)
> What is the guest ?
> Can you reproduce it with both Windows and RHEL as a guest ?

Yes, it can be reproduced both with windows and rhel guests.
Comment 6 Jonathon Jongsma 2015-10-20 10:26:50 EDT
I managed to reproduce this. In my (brief) testing, it seems to only happen when you're transferring multiple files, and only when one of the files is quite small.
Comment 7 Jonathon Jongsma 2015-10-21 17:11:36 EDT
patch posted here: http://lists.freedesktop.org/archives/spice-devel/2015-October/022582.html
Comment 11 errata-xmlrpc 2016-11-03 21:10:32 EDT
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.

https://rhn.redhat.com/errata/RHBA-2016-2229.html

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