Comment 1 for bug 531746

Andrew Bennetts (spiv) wrote :

If I re-run that command line, I can sometimes reproduce the failure, although the specific test varies, e.g.:

======================================================================
ERROR: bzrlib.tests.per_branch.test_http.InaccessibleParentTests.test_get_parent_invalid(RemoteBranchFormat-default)
----------------------------------------------------------------------
_StringException: Text attachment: log
------------
130.539 creating repository in chroot-221198540:///parent/path/to/a/.bzr/.
130.549 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0xd39dcac> in chroot-221198540:///parent/path/to/a/.bzr/
130.597 creating repository in chroot-221198540:///child/path/to/b/.bzr/.
130.604 Using fetch logic to copy between RemoteRepository(bzr://127.0.0.1:42139/extra/parent/path/to/a/.bzr/)(<RemoteRepositoryFormat>) and RemoteRepository(bzr://127.0.0.1:42139/extra/child/path/to/b/.bzr/)(<RemoteRepositoryFormat>)
130.604 fetch up to rev {None}
130.628 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0xd3a00cc> in chroot-221198540:///child/path/to/b/.bzr/
130.666 created new branch RemoteBranch(bzr://127.0.0.1:42139/extra/child/path/to/b/)
130.709 opening working tree '/tmp/testbzr-mlvEn4.tmp'
------------
Text attachment: traceback
------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 153, in _runCleanups
    function(*arguments, **keywordArguments)
  File "/home/andrew/warthogs/bzr/no_until_no_eintr/bzrlib/tests/__init__.py", line 1465, in _finishLogFile
    self._get_log(False)
  File "/home/andrew/warthogs/bzr/no_until_no_eintr/bzrlib/tests/__init__.py", line 1674, in _get_log
    self._log_file.close()
IOError: close() called during concurrent operation on the same file object.
------------