selftests fail assertActivitiesMatch for pycurl compiled against openssl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Vincent Ladeuil | ||
2.0 |
Fix Released
|
Medium
|
Vincent Ladeuil | ||
2.1 |
Fix Released
|
Medium
|
Vincent Ladeuil | ||
2.2 |
Fix Released
|
Medium
|
Vincent Ladeuil | ||
2.3 |
Fix Released
|
Medium
|
Vincent Ladeuil | ||
2.4 |
Fix Released
|
Medium
|
Vincent Ladeuil | ||
Gentoo Linux |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Running the selftest suite on a Gentoo system with curl compiled against openssl, 8 tests of the selftest suite fail:
FAIL: bzrlib.
FAIL: bzrlib.
FAIL: bzrlib.
FAIL: bzrlib.
FAIL: bzrlib.
FAIL: bzrlib.
FAIL: bzrlib.
FAIL: bzrlib.
The issue can be reproduced both in bzr.dev and in the 2.2 branch. I've attached the full selftest output, but the central part of these selftests always looks like this:
self.
File "/home/
self.
AssertionError: written bytes
not equal:
Of the numbers a and b printed after this, a is always much smaller than b:
test_get a=219 b=958
test_has a=220 b=957
test_post a=312 b=1051
test_readv a=249 b=988
Related branches
- bzr-core: Pending requested
-
Diff: 45 lines (+8/-5)2 files modifiedbzrlib/transport/http/_pycurl.py (+5/-5)
doc/en/release-notes/bzr-2.5.txt (+3/-0)
Changed in gentoo: | |
status: | New → Invalid |
status: | Invalid → Incomplete |
Changed in gentoo: | |
status: | Incomplete → Confirmed |
Changed in bzr: | |
status: | Confirmed → In Progress |
assignee: | nobody → Vincent Ladeuil (vila) |
Changed in bzr: | |
milestone: | none → 2.5b1 |
Changed in bzr: | |
status: | In Progress → Fix Released |
Sounds like pycurl + ssl is either recording a different number of bytes, or actually writing a different number.