Progress display prints spurious newlines

Bug #458063 reported by Matt Zimmerman
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
zsync (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: zsync

This example comes from an Ubuntu DVD zsync session:

########------------ 43.5% 8.7 kBps
########------------ 43.5% 15.9 kBps
########------------ 43.5% 18.6 kBps
########------------ 43.5% 3.7 kBps ETA
########------------ 43.5% 7.2 kBps
########------------ 43.5% 17.4 kBps
########------------ 43.5% 8.7 kBps ETA
########------------ 43.5% 8.7 kBps ETA
########------------ 43.5% 5.3 kBps ETA
########------------ 43.5% 31.9 kBps TA
########------------ 43.5% 31.9 kBps ETA
########------------ 43.5% 9.2 kBps ETA
########------------ 43.5% 17.1 kBps
########------------ 43.5% 24.9 kBps TA
########------------ 43.6% 32.1 kBps TA
########------------ 43.6% 33.3 kBps
########------------ 43.6% 16.2 kBps TA
########------------ 43.6% 15.9 kBps
########------------ 43.6% 23.4 kBps ETA
########------------ 43.6% 24.6 kBps
########------------ 43.6% 24.6 kBps
########------------ 43.6% 20.3 kBps TA
########------------ 43.6% 31.9 kBps TA
########------------ 43.6% 8.4 kBps ETA
########------------ 43.6% 31.9 kBps TA
########------------ 43.6% 16.5 kBps TA
########------------ 43.6% 33.3 kBps TA
########------------ 43.6% 17.4 kBps TA
########------------ 43.6% 31.9 kBps TA
########------------ 43.6% 17.1 kBps
########------------ 43.7% 24.9 kBps ETA
########------------ 43.7% 15.9 kBps TA
########------------ 43.7% 24.6 kBps
########------------ 43.7% 15.9 kBps
########------------ 43.7% 32.6 kBps
########------------ 43.7% 17.4 kBps
########------------ 43.7% 33.3 kBps TA
########------------ 43.7% 13.5 kBps TA
########------------ 43.7% 24.6 kBps
########------------ 43.7% 49.2 kBps 804:02 ETA

ProblemType: Bug
Architecture: amd64
Date: Thu Oct 22 11:35:25 2009
DistroRelease: Ubuntu 9.10
Package: zsync 0.6-1ubuntu2
ProcEnviron:
 LC_COLLATE=C
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: zsync
Uname: Linux 2.6.31-14-generic x86_64

Revision history for this message
Matt Zimmerman (mdz) wrote :
Revision history for this message
psl (slansky) wrote :

Ubuntu 9.10, i386, zsync 0.6

# zsync -V
zsync v0.6 (compiled Nov 6 2009 05:52:12)
By Colin Phipps <email address hidden>
Published under the Artistic License v2, see the COPYING file for details.

I can replicate the issue, download is slow, when I download from http://releases.ubuntu.com/9.10/ubuntu-9.10-desktop-amd64.iso.zsync

# zsync http://releases.ubuntu.com/9.10/ubuntu-9.10-desktop-amd64.iso.zsync
#################### 100.0% 0.0 kBps DONE

reading seed file ubuntu-9.10-desktop-amd64.iso.part: **************************************************************************************************************************************************************************************************************************************************************************************************************************************************Read ubuntu-9.10-desktop-amd64.iso.part. Target 7.2% complete.
downloading from http://releases.ubuntu.com/9.10/ubuntu-9.10-desktop-amd64.iso:
#------------------- 7.2% 4.5 kBps ETA
#------------------- 7.2% 0.6 kBps
#------------------- 7.2% 8.5 kBps ETA
#------------------- 7.3% 2.8 kBps ETA
#------------------- 7.3% 1.7 kBps ETA
#------------------- 7.4% 2.8 kBps ETA
#------------------- 7.4% 8.5 kBps ETA
#------------------- 7.4% 1.4 kBps
#------------------- 7.4% 2.8 kBps ETA

Interesting point I would like to highlight is that when I download the same file from other mirror (like http://releases.ubuntu.mirror.dkm.cz/releases/9.10/ubuntu-9.10-desktop-amd64.iso.zsync), I don't see this problem.

# zsync http://releases.ubuntu.mirror.dkm.cz/releases/9.10/ubuntu-9.10-desktop-amd64.iso.zsync
#################### 100.0% 0.0 kBps DONE

reading seed file ubuntu-9.10-desktop-amd64.iso.part: **************************************************************************************************************************************************************************************************************************************************************************************************************************************************Read ubuntu-9.10-desktop-amd64.iso.part. Target 66.6% complete.
downloading from http://releases.ubuntu.mirror.dkm.cz/releases/9.10/ubuntu-9.10-desktop-amd64.iso:
##############------ 71.6% 648.1 kBps 5:17 ETA

Revision history for this message
psl (slansky) wrote :

I can replicate the issue at my local LAN too. It is related to heavy traffic or packet lost/retransmissions. In this example, I started download in time when other process was using my server. When image was at 4.5%, server resources were free and zsync was downloading fast till it get 55% of the image; in that time other process put heavy load to the server and zsync has the problem again. Observed with zsync 0.5 at U9.04 amd64:

$ zsync http://server/zsync/ubuntu-9.04-dvd-i386.iso.zsync
#################### 100.0% 1028.7 kBps DONE

No relevent local data found - I will be downloading the whole file. If that's not what you want, CTRL-C out. You should specify the local file is the old version of the file to download with -i (you might have to decompress it with gzip -d first). Or perhaps you just have no data that helps download the file
downloading from http://server/zsync/ubuntu-9.04-dvd-i386.iso:
-------------------- 0.0% 12.5 kBps
-------------------- 1.8% 10.9 kBps ETA
-------------------- 1.8% 42.1 kBps
-------------------- 1.8% 3.2 kBps ETA
-------------------- 1.9% 68.1 kBps
-------------------- 1.9% 24.6 kBps ETA
-------------------- 1.9% 28.1 kBps
-------------------- 1.9% 16.4 kBps
-------------------- 2.5% 32.8 kBps ETA
-------------------- 3.9% 49.2 kBps ETA
-------------------- 4.5% 67.7 kBps TA
###########--------- 55.2% 3.6 kBps ETA
###########--------- 55.2% 10.9 kBps
###########--------- 55.9% 30.9 kBps TA
###########--------- 56.1% 3.0 kBps ETA

Revision history for this message
Steve Beattie (sbeattie) wrote :

Yes, I also see this behavior when the download has slowed or stalled.

Changed in zsync (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Stefan K. (archilles) wrote :

This still happens at least until xenial.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.