I've just had two unrelated branches fail on EC2 test with errors about _LockWarner garbage.
In one, all of the devscripts tests failed like:
======================================================================
ERROR: devscripts.tests.test_sourcecode.TestPlanUpdate.test_trivial (subunit.RemotedTestCase)
----------------------------------------------------------------------
_StringException: Text attachment: garbage
------------
[<bzrlib.lockable_files._LockWarner object at 0xdbc49d0>]
------------
In the other, a test which checked for output to stderr failed with:
======================================================================
FAILURE: lp.scripts.tests.test_sphinxdocs.TestSphinxDocumentation.test_docs_build_without_error (subunit.RemotedTestCase)
----------------------------------------------------------------------
_StringException: Text attachment: traceback
------------
Traceback (most recent call last):
_StringException: Text attachment: traceback
------------
Traceback (most recent call last):
File "/var/launchpad/tmp/eggs/testtools-0.9.8-py2.6.egg/testtools/runtest.py", line 169, in _run_user
return fn(*args, **kwargs)
File "/var/launchpad/tmp/eggs/testtools-0.9.8-py2.6.egg/testtools/testcase.py", line 499, in _run_test_method
return self._get_test_method()()
File "/var/launchpad/test/lib/lp/scripts/tests/test_sphinxdocs.py", line 34, in test_docs_build_without_error
self.assertEqual('Making output directory...\n', stderr)
File "/var/launchpad/tmp/eggs/testtools-0.9.8-py2.6.egg/testtools/testcase.py", line 268, in assertEqual
self.assertThat(observed, matcher)
File "/var/launchpad/tmp/eggs/testtools-0.9.8-py2.6.egg/testtools/testcase.py", line 345, in assertThat
% (matchee, matcher, mismatch.describe()))
AssertionError: Match failed. Matchee: "Making output directory...
Exception IndexError: IndexError('list index out of range',) in <bound method _LockWarner.__del__ of <bzrlib.lockable_files._LockWarner object at 0xef9ea50>> ignored
"
Matcher: Equals('Making output directory...\n')
Difference: !=:
reference = 'Making output directory...\n'
actual = "Making output directory...\nException IndexError: IndexError('list index out of range',) in <bound method _LockWarner.__del__ of <bzrlib.lockable_files._LockWarner object at 0xef9ea50>> ignored\n"
------------
Neither of the branches dealt messed with Bazaar in any way. Julian also reports getting the devscript failures from another branch.
Note that the second error in the bug description has occurred twice.