bzrlib.tests.test_test_server.TestTCPServerInAThread.test_handle_request_closes_if_it_doesnt_process failure

Bug #888629 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
High
Unassigned

Bug Description

Spurious test failure with the following traceback:

_StringException: Empty attachments:
  log

Traceback (most recent call last):
  File "/usr/home/babune/babune/slaves/freebsd8.local/workspace/selftest-freebsd/bzrlib/tests/test_test_server.py", line 294, in test_handle_request_closes_if_it_doesnt_process
    client.connect((server.host, server.port))
  File "/usr/home/babune/babune/slaves/freebsd8.local/workspace/selftest-freebsd/bzrlib/tests/test_test_server.py", line 58, in connect
    self.sock = osutils.connect_socket(addr)
  File "/usr/home/babune/babune/slaves/freebsd8.local/workspace/selftest-freebsd/bzrlib/osutils.py", line 2129, in connect_socket
    raise err
error: [Errno 61] Connection refused

or:

_StringException: Empty attachments:
  log

Traceback (most recent call last):
  File "/usr/home/babune/babune/slaves/freebsd8.local/workspace/selftest-freebsd/bzrlib/tests/test_test_server.py", line 63, in disconnect
    self.sock.shutdown(socket.SHUT_RDWR)
  File "/usr/local/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 54] Connection reset by peer

Revision history for this message
Vincent Ladeuil (vila) wrote :
Martin Packman (gz)
tags: added: test-failure
removed: test-falure
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.