[Yum] Yum 2.0.5 flakiness

Sean Kasun skasun at azstarnet.com
Sun Mar 7 23:22:01 UTC 2004


On Sun, 2004-03-07 at 15:47, Michael Stenner wrote:
> Perhaps you can
> run the test code from your end and see what happens.  I'll attach the
> test script and the keepalive.py from yum 2.0.5.

Sure thing, here's the output of the test:

$ python test_keepalive.py
creating new connection to mirrors.kernel.org
STATUS: 200, OK
 1
Traceback (most recent call last):
  File "test_keepalive.py", line 27, in ?
    fo = urllib2.urlopen(url)
  File "/usr/lib/python2.3/urllib2.py", line 129, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.3/urllib2.py", line 326, in open
    '_open', req)
  File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
    result = func(*args)
  File "/home/mrkite/keepalive.py", line 162, in http_open
    return self.do_open(HTTPConnection, req)
  File "/home/mrkite/keepalive.py", line 125, in do_open
    try: r = h.getresponse()
  File "/usr/lib/python2.3/httplib.py", line 778, in getresponse
    response.begin()
  File "/usr/lib/python2.3/httplib.py", line 273, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.3/httplib.py", line 237, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine





More information about the Yum mailing list