spurious failure of test_readv_with_adjust_for_latency(HttpTransport_urllib,HTTPSServer_urllib) on armhf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
High
|
Unassigned | ||
Breezy |
Fix Released
|
Medium
|
Unassigned | ||
bzr (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
We're getting a spurious failure of one of the https tests on ARM:
ERROR: bzrlib.
-------
_StringException: Text attachment: log
------------
------------
Text attachment: traceback-1
------------
Traceback (most recent call last):
File "/usr/lib/
return fn(*args, **kwargs)
File "/build/
self.
File "/build/
self.
File "/build/
connection_
File "/build/
super(
File "/build/
super(
File "/usr/lib/
self.
File "/build/
self, request, client_address)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.handle()
File "/build/
SimpleHTTPS
File "/usr/lib/
self.
File "/build/
self.
File "/build/
SimpleHTTPS
File "/usr/lib/
self.
File "/usr/lib/
data = self._sock.
File "/usr/lib/
return self.read(buflen)
File "/usr/lib/
return self._sslobj.
AttributeError: 'NoneType' object has no attribute 'read'
Changed in bzr (Ubuntu): | |
status: | New → Confirmed |
status: | Confirmed → Triaged |
importance: | Undecided → High |
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
status: | Triaged → Fix Released |
Just looking at traceback, this happens during the test tearDown.
Basically, this should be an EBADF exception which would be correctly ignored at this point.
Instead, we get an AttributeError. This rings a bell about some python version not handling the ssl sockets correctly (i.e. raising EBADF when the socket is closed and lose its bound methods) so maybe the python involved there didn't get the right fix...
Does someone remember better than me ?