Bug 1070598

Summary: problems downloading large files (and counting past 100%)
Product: [Fedora] Fedora Reporter: Ben Boeckel <mathstuf>
Component: dnfAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akozumpl, jzeleny, pnemade, rholy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-0.4.17-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-08 03:35:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
dnf giving it 106% none

Description Ben Boeckel 2014-02-27 08:16:18 UTC
Not really sure what is happening here. The summary said the whole update was 992 MB and dnf is happily counting up to 1.2 GB so far (and the output is unhappy; screenshots attached).

Version-Release number of selected component (if applicable):
dnf-0.4.15-1.fc21.noarch

Comment 1 Ben Boeckel 2014-02-27 08:21:12 UTC
Created attachment 868348 [details]
dnf giving it 106%

Things to note:

  * Counting past 100%
  * ETA is gone
  * The progress bar keeps growing and pushing the rest off to the right.

Looking in the cache, it appears as though the file in question is only 36 MB in size and there are occasional timeout error messages popping up in the stream, so is the file being deleted but the download progress not being updated?

Comment 2 Radek Holy 2014-02-27 13:45:51 UTC
Hello, thank you for the report. I cannot reproduce it here, however we'll take a look at it.

Comment 3 Radek Holy 2014-03-03 08:20:38 UTC
Another reproducer seen here: https://bugzilla.redhat.com/show_bug.cgi?id=1071518#c1

Comment 4 Ben Boeckel 2014-03-03 17:52:20 UTC
Yeah, I've also seen the behavior shown in that bug's initial comment, but haven't gotten around to posting it.

Comment 5 Ales Kozumplik 2014-03-04 09:08:05 UTC
Counting past 100% fixed by 68e591c on master.

Ben, if you want to you can test how the fix works before an official release using our nightly builds: 

jenkins.cloud.fedoraproject.org/job/DNF/lastSuccessfulBuild/artifact/

Comment 6 Fedora Update System 2014-03-05 12:57:23 UTC
dnf-0.4.17-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/dnf-0.4.17-1.fc20

Comment 7 Fedora Update System 2014-03-06 08:14:09 UTC
Package dnf-0.4.17-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-0.4.17-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-3465/dnf-0.4.17-1.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-03-08 03:35:26 UTC
dnf-0.4.17-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.