tests fail if there's a /tmp/.bzr directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
These failures occur 100% of the time for me at the moment:
$ BZR_PLUGIN_
bzr selftest: /home/andrew/
/home/
bzr-2.3.0dev4 python-2.6.6 Linux-2.
FAIL: blackbox.
Text attachment: log
------------
0.281 creating repository in file://
0.285 creating branch <bzrlib.
0.293 trying to create missing lock '/tmp/testbzr-
0.294 opening working tree '/tmp/testbzr-
0.299 run bzr: ['log']
0.299 bazaar version: 2.3.0dev4
0.299 bzr arguments: ['log']
0.301 encoding stdout as sys.stdout encoding 'UTF-8'
0.307 Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
return self._operation
File "/home/
self.cleanups, self.func, *args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
b = dir.open_branch()
File "/home/
format = self.find_
File "/home/
return BranchFormat.
File "/home/
raise errors.
NotBranchError: Not a branch: "/tmp/.
0.307 errors:
'bzr: ERROR: Not a branch: "/tmp/.
0.311 opening working tree '/tmp/testbzr-
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
return fn(*args)
File "/usr/lib/
testMethod()
File "/home/
err)
AssertionError: not equal:
a = u'bzr: ERROR: Not a branch: "/tmp/tmpDw73s1
b = 'bzr: ERROR: Not a branch: "/tmp/.
------------
FAIL: blackbox.
Text attachment: log
------------
0.315 creating repository in file://
0.317 creating branch <bzrlib.
0.324 trying to create missing lock '/tmp/testbzr-
0.325 opening working tree '/tmp/testbzr-
0.332 preparing to commit
INFO Committing to: /tmp/testbzr-
0.335 Selecting files for commit with filter None
INFO Committed revision 1.
0.347 Committed revid <email address hidden> as revno 1.
0.351 preparing to commit
INFO Committing to: /tmp/testbzr-
0.353 Selecting files for commit with filter None
INFO Committed revision 2.
0.360 Committed revid <email address hidden> as revno 2.
0.361 run bzr: ['diff', '-r', 'revno:
0.361 bazaar version: 2.3.0dev4
0.361 bzr arguments: ['diff', '-r', 'revno:
0.371 Returning RevisionSpec RevisionSpec_revno for revno:2:branch2
0.371 Returning RevisionSpec RevisionSpec_revno for revno:1
0.372 encoding stdout as sys.stdout encoding 'UTF-8'
0.375 Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
return self._operation
File "/home/
self.cleanups, self.func, *args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
file_list, revision, old, new, self.add_cleanup, apply_view=True)
File "/home/
bzrdir.
File "/home/
tree, branch = bzrdir.
File "/home/
branch = self.open_
File "/home/
format = self.find_
File "/home/
return BranchFormat.
File "/home/
raise errors.
NotBranchError: Not a branch: "/tmp/.
0.375 errors:
'bzr: ERROR: Not a branch: "/tmp/.
0.378 opening working tree '/tmp/testbzr-
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
return fn(*args)
File "/usr/lib/
testMethod()
File "/home/
self.
AssertionError: not equal:
a = u'bzr: ERROR: Not a branch: "/tmp/tmpNsYyOG
b = 'bzr: ERROR: Not a branch: "/tmp/.
------------
=======
FAIL: bzrlib.
-------
_StringException: Text attachment: log
------------
0.281 creating repository in file://
0.285 creating branch <bzrlib.
0.293 trying to create missing lock '/tmp/testbzr-
0.294 opening working tree '/tmp/testbzr-
0.299 run bzr: ['log']
0.299 bazaar version: 2.3.0dev4
0.299 bzr arguments: ['log']
0.301 encoding stdout as sys.stdout encoding 'UTF-8'
0.307 Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
return self._operation
File "/home/
self.cleanups, self.func, *args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
b = dir.open_branch()
File "/home/
format = self.find_
File "/home/
return BranchFormat.
File "/home/
raise errors.
NotBranchError: Not a branch: "/tmp/.
0.307 errors:
'bzr: ERROR: Not a branch: "/tmp/.
0.311 opening working tree '/tmp/testbzr-
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
return fn(*args)
File "/usr/lib/
testMethod()
File "/home/
err)
AssertionError: not equal:
a = u'bzr: ERROR: Not a branch: "/tmp/tmpDw73s1
b = 'bzr: ERROR: Not a branch: "/tmp/.
------------
=======
FAIL: bzrlib.
-------
_StringException: Text attachment: log
------------
0.315 creating repository in file://
0.317 creating branch <bzrlib.
0.324 trying to create missing lock '/tmp/testbzr-
0.325 opening working tree '/tmp/testbzr-
0.332 preparing to commit
INFO Committing to: /tmp/testbzr-
0.335 Selecting files for commit with filter None
INFO Committed revision 1.
0.347 Committed revid <email address hidden> as revno 1.
0.351 preparing to commit
INFO Committing to: /tmp/testbzr-
0.353 Selecting files for commit with filter None
INFO Committed revision 2.
0.360 Committed revid <email address hidden> as revno 2.
0.361 run bzr: ['diff', '-r', 'revno:
0.361 bazaar version: 2.3.0dev4
0.361 bzr arguments: ['diff', '-r', 'revno:
0.371 Returning RevisionSpec RevisionSpec_revno for revno:2:branch2
0.371 Returning RevisionSpec RevisionSpec_revno for revno:1
0.372 encoding stdout as sys.stdout encoding 'UTF-8'
0.375 Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
return self._operation
File "/home/
self.cleanups, self.func, *args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
file_list, revision, old, new, self.add_cleanup, apply_view=True)
File "/home/
bzrdir.
File "/home/
tree, branch = bzrdir.
File "/home/
branch = self.open_
File "/home/
format = self.find_
File "/home/
return BranchFormat.
File "/home/
raise errors.
NotBranchError: Not a branch: "/tmp/.
0.375 errors:
'bzr: ERROR: Not a branch: "/tmp/.
0.378 opening working tree '/tmp/testbzr-
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
return fn(*args)
File "/usr/lib/
testMethod()
File "/home/
self.
AssertionError: not equal:
a = u'bzr: ERROR: Not a branch: "/tmp/tmpNsYyOG
b = 'bzr: ERROR: Not a branch: "/tmp/.
------------
-------
Ran 3 tests in 0.208s
FAILED (failures=2)
$ bzr revision-info
5538 <email address hidden>
summary: |
- test_outside_wt failures on trunk + tests fail if there's a /tmp/.bzr directory |
tags: | added: selftest |
tags: | added: check-for-breezy |
vila wins the diagnosis prize: I had a shared repo in /tmp.
Our tests should still pass in that environment, of course.