Bug#398217: apt-proxy: 15 months later, still happening

2007-03-20 Thread Chris Halls
On Tue, Mar 20, 2007 at 04:30:28PM +1100, Andrew Vaughan wrote:
 After 15 months without a maintainer response, I've decided to send another 
 log 
 extract, just to let you know that apt-proxy still dies regularly.

Hi Andrew

Thanks for your ping. Actually, I already fixed this bug in subversion
but have not had time to finish testing and preparing a release. Here's
the current changelog:

apt-proxy (1.9.36~svn) unstable; urgency=low

  [ Chris Halls ]
  * Acknowledge NMU by Steinar H. Gunderson, thanks! (Closes: #386344)
  * Close a longstanding bug where clients would hang when receiving
files from the cache. The problem was caused by reusing the same
file handle for several requests at once.
(Closes: #274679, #382078, #322242, #397399, #397403, #398217)
  * Change the meaning of min_refresh_delay parameter, so the
delay is measured from the modification time of the file on the
backend instead of the time a client last requested this file.
Now apt-proxy will always query backends when a file is too
old (Closes: #266000)
  * Set process name to apt-proxy
  * Properly deal with escaped characters, including ~ in URLs on FTP
backends. Unescape URLs and check for invalid characters when parsing
a request. A big thanks to Ben Hutchings for the patch
(Closes: #393483, #366262)
  * Fix [EMAIL PROTECTED] given in backend server URLs and add a test case.
Thanks Jason Thomas for the patch (Closes: #348985)
  * Fix exception when sending ftp password to backend (Closes: #387243)
  * Remove extra '/' in HTTP GET requests (Closes: #330492)
  * Uncompress Packages.gz and Packages.bz2 on the fly, and
update databases from these files (Closes: #319005, #303357)
  * Add unit tests for valid URLs containing /../ (Closes: #182855)
  * Remove obsolete GZipFetcher from fetchers.py

  [ Mark Sheppard ]
  * Generate an error if a client attempts to retrieve
http://server:/  (Closes: #386546)
  * When returning an error, generate an HTML page containing the error

Please feel free to give it a try:

svn co svn+ssh://svn.debian.org/svn/apt-proxy/trunk apt-proxy
cd apt-proxy
as root ./aptest

That will run the new version using your existing configuration.

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#398217: apt-proxy: 15 months later, still happening

2007-03-20 Thread Andrew Vaughan
On Saturday 17 March 2007 13:24, Chris Halls wrote:

 Hi Andrew

 Thanks for your ping. Actually, I already fixed this bug in subversion
 but have not had time to finish testing and preparing a release. Here's
 the current changelog:

 apt-proxy (1.9.36~svn) unstable; urgency=low

   [ Chris Halls ]
   * Acknowledge NMU by Steinar H. Gunderson, thanks! (Closes: #386344)
   * Close a longstanding bug where clients would hang when receiving
 files from the cache. The problem was caused by reusing the same
 file handle for several requests at once.
 (Closes: #274679, #382078, #322242, #397399, #397403, #398217)

 Please feel free to give it a try:

 svn co svn+ssh://svn.debian.org/svn/apt-proxy/trunk apt-proxy
 cd apt-proxy
 as root ./aptest

Ok.  I am currently running apt-proxy as above.  This does seem better.

After approx 2 hours the exception re-occurred.  This time apt-proxy was 
able to recover and continue.

2007/03/20 23:19 EST [TimeoutProtocol,client] Stopping factory 
apt_proxy.fetchers.HttpFetcher instance at 0xb6ab75cc
2007/03/20 23:19 EST [TimeoutProtocol,client] Stopping factory 
twisted.protocols.policies.TimeoutFactory instance at 0xb6aaf8ec
2007/03/20 23:19 EST [Channel,211,192.168.1.23] [CacheEntry] this is a real 
request:/var/cache/apt-proxy/debian/pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb
2007/03/20 23:19 EST [Channel,212,192.168.1.23] [CacheEntry] this is a real 
request:/var/cache/apt-proxy/debian/pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb
2007/03/20 23:20 EST [-] [CacheEntry] sending file from 
cache:/var/cache/apt-proxy/debian/pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb
2007/03/20 23:20 EST [-] [CacheEntry] 
transfer_file:/var/cache/apt-proxy/debian/pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb
2007/03/20 23:20 EST [Channel,213,192.168.1.23] [CacheEntry] this is a real 
request:/var/cache/apt-proxy/debian/pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb
2007/03/20 23:21 EST [Channel,214,192.168.1.23] [CacheEntry] this is a real 
request:/var/cache/apt-proxy/debian/pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb
2007/03/20 23:21 EST [-] [CacheEntry] sending file from 
cache:/var/cache/apt-proxy/debian/pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb
2007/03/20 23:21 EST [-] [CacheEntry] 
transfer_file:/var/cache/apt-proxy/debian/pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb
2007/03/20 23:21 EST [-] [verify] cache file verification FAILED 
for /var/cache/apt-proxy/debian/pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb: 
Verification process timed out
2007/03/20 23:21 EST [-] [CacheEntry] start 
download:pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb
2007/03/20 23:21 EST [-] [verify] cache file verification FAILED 
for /var/cache/apt-proxy/debian/pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb: 
dpkg failed

2007/03/20 23:21 EST [-] Traceback (most recent call last):
  
File /usr/lib/python2.4/site-packages/twisted/internet/posixbase.py, line 
250, in _disconnectSelectable
selectable.readConnectionLost(f)
  
File /usr/lib/python2.4/site-packages/twisted/internet/abstract.py, line 
157, in readConnectionLost
self.connectionLost(reason)
  
File /usr/lib/python2.4/site-packages/twisted/internet/process.py, line 
233, in connectionLost
self.proc.childConnectionLost(self.name, reason)
  
File /usr/lib/python2.4/site-packages/twisted/internet/process.py, line 
659, in childConnectionLost
self.maybeCallProcessEnded()
--- exception caught here ---
  
File /usr/lib/python2.4/site-packages/twisted/internet/process.py, line 
688, in maybeCallProcessEnded
self.proto.processEnded(failure.Failure(e))
  File /home/andrew/apt-proxy/apt-proxy/apt_proxy/cache.py, line 
674, in processEnded
self.parent.failed(os.path.basename(self.exe)+  failed)
  File /home/andrew/apt-proxy/apt-proxy/apt_proxy/cache.py, line 
623, in failed
os.unlink(self.path)
exceptions.OSError: [Errno 2] No such file or 
directory: 
'/var/cache/apt-proxy/debian/pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb'

2007/03/20 23:21 EST [Channel,215,192.168.1.23] [CacheEntry] this is a real 
request:/var/cache/apt-proxy/debian/pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb
2007/03/20 23:21 EST [Channel,215,192.168.1.23] [CacheEntry] start 
download:pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb
2007/03/20 23:21 EST [Channel,215,192.168.1.23] Starting factory 
apt_proxy.fetchers.HttpFetcher instance at 0xb6ac3e2c
2007/03/20 23:21 EST [Channel,215,192.168.1.23] Starting factory 
twisted.protocols.policies.TimeoutFactory instance at 0xb6ac3e8c
2007/03/20 23:21 EST [TimeoutProtocol,client] [CacheEntry] download 
started:/var/cache/apt-proxy/debian/pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb
2007/03/20 23:29 EST [TimeoutProtocol,client] [CacheEntry] 
download_data_end: 
/var/cache/apt-proxy/debian/pool/main/v/valgrind/valgrind_3.2.1-1_i386.deb 
(1 clients)
2007/03/20 

Bug#398217: apt-proxy: 15 months later, still happening

2007-03-19 Thread Andrew Vaughan
Package: apt-proxy
Version: 1.9.35-0.3
Followup-For: Bug #398217

Hi

After 15 months without a maintainer response, I've decided to send another log 
extract, just to let you know that apt-proxy still dies regularly.

Thanks
Andrew V.



2007/03/20 13:26 EST [Channel,586,192.168.1.23] [CacheEntry] start 
download:pool/main/l/lattice/r-cran-lattice_0.14-13-1_i386.deb
2007/03/20 13:26 EST [Channel,586,192.168.1.23] Starting factory 
apt_proxy.fetchers.HttpFetcher instance at 
0xb767dcac
2007/03/20 13:26 EST [Channel,586,192.168.1.23] Starting factory 
twisted.protocols.policies.ThrottlingFactory 
instance at 0xb767dc8c
2007/03/20 13:26 EST [ThrottlingProtocol,client] [CacheEntry] download 
started:/var/cache/apt-proxy/debian/pool/main/l/lattice/r-cran-lattice_0.14-13-1_i386.deb
2007/03/20 13:26 EST [Channel,587,192.168.1.23] [CacheEntry] start 
download:pool/main/l/lattice/r-cran-lattice_0.14-13-1_i386.deb
2007/03/20 13:26 EST [-] Throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 0xb767dc8c
2007/03/20 13:26 EST [-] Stopped throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 
0xb767dc8c
2007/03/20 13:27 EST [-] Throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 0xb767dc8c
2007/03/20 13:27 EST [-] Stopped throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 
0xb767dc8c
2007/03/20 13:27 EST [-] Throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 0xb767dc8c
2007/03/20 13:27 EST [-] Stopped throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 
0xb767dc8c
2007/03/20 13:27 EST [-] Throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 0xb767dc8c
2007/03/20 13:27 EST [Channel,588,192.168.1.23] [CacheEntry] start 
download:pool/main/l/lattice/r-cran-lattice_0.14-13-1_i386.deb
2007/03/20 13:27 EST [Channel,588,192.168.1.23] Starting factory 
apt_proxy.fetchers.HttpFetcher instance at 
0xb765fdcc
2007/03/20 13:27 EST [Channel,588,192.168.1.23] Starting factory 
twisted.protocols.policies.ThrottlingFactory 
instance at 0xb765fcac
2007/03/20 13:27 EST [ThrottlingProtocol,client] [CacheEntry] download 
started:/var/cache/apt-proxy/debian/pool/main/l/lattice/r-cran-lattice_0.14-13-1_i386.deb
2007/03/20 13:27 EST [-] Stopped throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 
0xb767dc8c
2007/03/20 13:27 EST [ThrottlingProtocol,client] [CacheEntry] 
download_data_end:/var/cache/apt-proxy/debian/pool/main/l/lattice/r-cran-lattice_0.14-13-1_i386.deb
2007/03/20 13:27 EST [ThrottlingProtocol,client] [CacheEntry] 
file_sent:/var/cache/apt-proxy/debian/pool/main/l/lattice/r-cran-lattice_0.14-13-1_i386.deb
2007/03/20 13:27 EST [ThrottlingProtocol,client] Starting factory 
apt_proxy.fetchers.HttpFetcher instance at 
0xb767d9ac
2007/03/20 13:27 EST [ThrottlingProtocol,client] Starting factory 
twisted.protocols.policies.ThrottlingFactory 
instance at 0xb765fa0c
2007/03/20 13:27 EST [ThrottlingProtocol,client] Stopping factory 
apt_proxy.fetchers.HttpFetcher instance at 
0xb767dcac
2007/03/20 13:27 EST [ThrottlingProtocol,client] Stopping factory 
twisted.protocols.policies.ThrottlingFactory 
instance at 0xb767dc8c
2007/03/20 13:27 EST [-] Throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 0xb765fcac
2007/03/20 13:27 EST [-] Stopped throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 
0xb765fcac
2007/03/20 13:27 EST [-] Throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 0xb765fcac
2007/03/20 13:27 EST [-] Stopped throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 
0xb765fcac
2007/03/20 13:27 EST [-] Throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 0xb765fcac
2007/03/20 13:27 EST [ThrottlingProtocol,client] [CacheEntry] download 
started:/var/cache/apt-proxy/debian/pool/main/l/lattice/r-cran-lattice_0.14-13-1_i386.deb
2007/03/20 13:27 EST [-] Stopped throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 
0xb765fcac
2007/03/20 13:27 EST [-] Throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 0xb765fcac
2007/03/20 13:27 EST [-] Stopped throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 
0xb765fcac
2007/03/20 13:27 EST [-] Throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 0xb765fcac
2007/03/20 13:27 EST [-] Stopped throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 
0xb765fcac
2007/03/20 13:27 EST [-] Throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 0xb765fcac
2007/03/20 13:27 EST [-] Stopped throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 
0xb765fcac
2007/03/20 13:27 EST [-] Throttling reads on 
twisted.protocols.policies.ThrottlingFactory instance at 0xb765fcac
2007/03/20 13:27 EST [-] Stopped throttling reads