[Bug 1112482] Re: autopkgtest - several tests failed with pycurl error: 23, Failed writing header

Vincent Ladeuil 1112482 at bugs.launchpad.net
Mon Feb 4 10:05:07 UTC 2013


Given that all (at first glance) pycurl tests fail, this is likely an
issue in pycurl rather than bzr.

More information can be collected by running the following on a setup
where the bug can be reproduced:

  bzr selftest -s bt.test_http  pycurl -Dhttp -Eallow_debug
 
-Dhttp will output more debug data (which could make some more tests fail if they don't expect that data but the point is to collect more data here ;)
-Eallow_debug is required to let 'selftest' propagate '-Dhttp'


** Changed in: bzr (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/1112482

Title:
  autopkgtest - several tests failed with pycurl error: 23, Failed
  writing header

Status in “bzr” package in Ubuntu:
  Incomplete

Bug description:
  autopkgtest of bzr fails since Jan 25th with similar traceback:

  _StringException: log: {{{990.679  got pycurl error: 23, Failed
  writing header, (23, 'Failed writing header'), url:
  http://127.0.0.1:32769/a}}}

  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/test_http.py", line 799, in test_readv_out_of_order
      l = list(t.readv('a', ((1, 1), (9, 1), (0, 1), (3, 2))))
    File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/__init__.py", line 201, in _readv
      for cur_coal, rfile in self._coalesce_readv(relpath, coalesced):
    File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/__init__.py", line 293, in _coalesce_readv
      for c, rfile in get_and_yield(relpath, ranges):
    File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/__init__.py", line 256, in get_and_yield
      code, rfile = self._get(relpath, coalesced)
    File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/_pycurl.py", line 171, in _get
      return self._get_ranged(relpath, offsets, tail_amount=tail_amount)
    File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/_pycurl.py", line 239, in _get_ranged
      self._curl_perform(curl, header, ['Range: bytes=%s' % range_header])
    File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/_pycurl.py", line 392, in _curl_perform
      curl.perform()
  error: (23, 'Failed writing header')

  
  Furthermore the following message is reported to stderr:
  SystemError: bad format char passed to Py_BuildValue

  https://jenkins.qa.ubuntu.com/view/Raring/view/AutoPkgTest/job/raring-
  adt-bzr/

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: bzr 2.6.0~bzr6571-4ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-2.6-generic 3.8.0-rc4
  Uname: Linux 3.8.0-2-generic x86_64
  ApportVersion: 2.8-0ubuntu3
  Architecture: amd64
  Date: Fri Feb  1 14:04:51 2013
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: bzr
  UpgradeStatus: Upgraded to raring on 2012-01-31 (366 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/1112482/+subscriptions




More information about the foundations-bugs mailing list