selftest failures (install, locale, and baz_import).
Matthieu Moy
Matthieu.Moy at imag.fr
Sat Sep 2 14:07:09 BST 2006
bzr: /net/ecrins/local/moy/usr/src/bzr/bzr.dev/bzr
bzrlib: /net/ecrins/local/moy/usr/src/bzr/bzr.dev/bzrlib
bzrlib.tests.test_setup.TestSetup.test_build_and_install: FAIL
bzrlib.tests.blackbox.test_locale.TestLocale.test_log_BOGUS: FAIL
bzrlib.tests.blackbox.test_locale.TestLocale.test_log_C: FAIL
bzrlib.plugins.bzrtools.baz_import.add_dir: FAIL
bzrlib.plugins.bzrtools.baz_import.add_file: FAIL
bzrlib.plugins.bzrtools.baz_import.commit: FAIL
bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions: FAIL
bzrlib.plugins.bzrtools.baz_import.commit_test_revisions: FAIL
bzrlib.plugins.bzrtools.baz_import.import_version: FAIL
bzrlib.plugins.bzrtools.baz_import.test_environ: FAIL
bzrlib.plugins.bzrtools.baz_import.version_ancestry: FAIL
1 out of 1 hunk FAILED -- saving rejects to file test_file.rej
patching file myfile
======================================================================
FAIL: test_build_and_install (bzrlib.tests.test_setup.TestSetup)
vvvv[log from bzrlib.tests.test_setup.TestSetup.test_build_and_install]-------
running clean
running install
error: invalid Python installation: unable to open /usr/lib/python2.4/config/Makefile (No such file or directory)
test_build running in /net/ecrins/local/moy/usr/src/bzr/bzr.dev
source base directory: /net/ecrins/local/moy/usr/src/bzr/bzr.dev
args: ['/usr/bin/python2.4', './setup.py', 'clean']
source base directory: /net/ecrins/local/moy/usr/src/bzr/bzr.dev
args: ['/usr/bin/python2.4', './setup.py', 'install', '--prefix', '/tmp/tmpcimt8C']
^^^^[log from bzrlib.tests.test_setup.TestSetup.test_build_and_install]-------
----------------------------------------------------------------------
Traceback (most recent call last):
File "/net/ecrins/local/moy/usr/src/bzr/bzr.dev/bzrlib/tests/test_setup.py", line 58, in test_build_and_install
self.run_setup(['install', '--prefix', install_dir])
File "/net/ecrins/local/moy/usr/src/bzr/bzr.dev/bzrlib/tests/test_setup.py", line 74, in run_setup
'invocation of %r failed' % args)
AssertionError: invocation of ['/usr/bin/python2.4', './setup.py', 'install', '--prefix', '/tmp/tmpcimt8C'] failed
======================================================================
FAIL: test_log_BOGUS (bzrlib.tests.blackbox.test_locale.TestLocale)
vvvv[log from bzrlib.tests.blackbox.test_locale.TestLocale.test_log_BOGUS]----
relpath 'tree' => url './tree'
created control directory in file:///net/ecrins/local/moy/usr/src/bzr/bzr.dev/test0001.tmp/blackbox.test_locale.TestLocale.test_log_BOGUS/tree/
creating repository in file:///net/ecrins/local/moy/usr/src/bzr/bzr.dev/test0001.tmp/blackbox.test_locale.TestLocale.test_log_BOGUS/tree/.bzr/.
creating branch <bzrlib.branch.BzrBranchFormat5 object at 0xb775ff6c> in file:///net/ecrins/local/moy/usr/src/bzr/bzr.dev/test0001.tmp/blackbox.test_locale.TestLocale.test_log_BOGUS/tree/.bzr/
got branch format Bazaar-NG Metadir branch format 5
got branch format Bazaar-NG Metadir branch format 5
opening working tree '/net/ecrins/local/moy/usr/src/bzr/bzr.dev/test0001.tmp/blackbox.test_locale.TestLocale.test_log_BOGUS/tree'
failed to open /net/ecrins/local/moy/usr/src/bzr/bzr.dev/test0001.tmp/blackbox.test_locale.TestLocale.test_log_BOGUS/tree/.bzr/checkout/stat-cache: [Errno 2] No such file or directory: u'/net/ecrins/local/moy/usr/src/bzr/bzr.dev/test0001.tmp/blackbox.test_locale.TestLocale.test_log_BOGUS/tree/.bzr/checkout/stat-cache'
write hc
wrote working inventory
wrote working inventory
wrote working inventory
wrote working inventory
preparing to commit
Selecting files for commit with filter None
added revision_id {r1}
add {r1} to revision-history
^^^^[log from bzrlib.tests.blackbox.test_locale.TestLocale.test_log_BOGUS]----
----------------------------------------------------------------------
Traceback (most recent call last):
File "/net/ecrins/local/moy/usr/src/bzr/bzr.dev/bzrlib/tests/blackbox/test_locale.py", line 64, in test_log_BOGUS
self.assertEqualDiff("""\
File "/net/ecrins/local/moy/usr/src/bzr/bzr.dev/bzrlib/tests/__init__.py", line 519, in assertEqualDiff
raise AssertionError(message +
AssertionError: texts not equal:
- bzr: warning: unsupported locale setting
- Could not what text encoding to use.
- This error usually means your Python interpreter
- doesn't support the locale set by $LANG (BOGUS)
- Continuing with ascii encoding.
======================================================================
FAIL: test_log_C (bzrlib.tests.blackbox.test_locale.TestLocale)
vvvv[log from bzrlib.tests.blackbox.test_locale.TestLocale.test_log_C]--------
relpath 'tree' => url './tree'
created control directory in file:///net/ecrins/local/moy/usr/src/bzr/bzr.dev/test0001.tmp/blackbox.test_locale.TestLocale.test_log_C/tree/
creating repository in file:///net/ecrins/local/moy/usr/src/bzr/bzr.dev/test0001.tmp/blackbox.test_locale.TestLocale.test_log_C/tree/.bzr/.
creating branch <bzrlib.branch.BzrBranchFormat5 object at 0xb775ff6c> in file:///net/ecrins/local/moy/usr/src/bzr/bzr.dev/test0001.tmp/blackbox.test_locale.TestLocale.test_log_C/tree/.bzr/
got branch format Bazaar-NG Metadir branch format 5
got branch format Bazaar-NG Metadir branch format 5
opening working tree '/net/ecrins/local/moy/usr/src/bzr/bzr.dev/test0001.tmp/blackbox.test_locale.TestLocale.test_log_C/tree'
failed to open /net/ecrins/local/moy/usr/src/bzr/bzr.dev/test0001.tmp/blackbox.test_locale.TestLocale.test_log_C/tree/.bzr/checkout/stat-cache: [Errno 2] No such file or directory: u'/net/ecrins/local/moy/usr/src/bzr/bzr.dev/test0001.tmp/blackbox.test_locale.TestLocale.test_log_C/tree/.bzr/checkout/stat-cache'
write hc
wrote working inventory
wrote working inventory
wrote working inventory
wrote working inventory
preparing to commit
Selecting files for commit with filter None
added revision_id {r1}
add {r1} to revision-history
^^^^[log from bzrlib.tests.blackbox.test_locale.TestLocale.test_log_C]--------
----------------------------------------------------------------------
Traceback (most recent call last):
File "/net/ecrins/local/moy/usr/src/bzr/bzr.dev/bzrlib/tests/blackbox/test_locale.py", line 48, in test_log_C
self.assertEqualDiff("""\
File "/net/ecrins/local/moy/usr/src/bzr/bzr.dev/bzrlib/tests/__init__.py", line 519, in assertEqualDiff
raise AssertionError(message +
AssertionError: texts not equal:
------------------------------------------------------------
revno: 1
committer: ???? Meinel <juju at info.com>
branch nick: tree
timestamp: Thu 2006-08-24 20:28:17 +0000
message:
- Unicode ? commit
? ^
+ Unicode ? commit
? ^
======================================================================
FAIL: add_dir (bzrlib.plugins.bzrtools.baz_import)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for bzrlib.plugins.bzrtools.baz_import.add_dir
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 128, in add_dir
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 130, in bzrlib.plugins.bzrtools.baz_import.add_dir
Failed example:
q = test_environ()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.add_dir[0]>", line 1, in ?
q = test_environ()
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 103, in test_environ
make_archive("test at example.com", arch_dir)
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 82, in make_archive
pb_location = pybaz.ArchiveLocation(location)
AttributeError: 'module' object has no attribute 'ArchiveLocation'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 131, in bzrlib.plugins.bzrtools.baz_import.add_dir
Failed example:
add_dir("path with\(sp) space", "lalala")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.add_dir[1]>", line 1, in ?
add_dir("path with\(sp) space", "lalala")
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 138, in add_dir
os.mkdir(path)
OSError: [Errno 17] File exists: 'path with\\(sp) space'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 132, in bzrlib.plugins.bzrtools.baz_import.add_dir
Failed example:
tree = pybaz.tree_root(".")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.add_dir[2]>", line 1, in ?
tree = pybaz.tree_root(".")
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 2504, in tree_root
root = _arch.tree_root(directory)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 218, in tree_root
if status == 1: raise errors.TreeRootError(dir)
TreeRootError: directory is not inside a project tree: '.'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 133, in bzrlib.plugins.bzrtools.baz_import.add_dir
Failed example:
inv = list(tree.iter_inventory_ids(source=True, both=True))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.add_dir[3]>", line 1, in ?
inv = list(tree.iter_inventory_ids(source=True, both=True))
NameError: name 'tree' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 134, in bzrlib.plugins.bzrtools.baz_import.add_dir
Failed example:
("x_lalala", "path with\(sp) space") in inv
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.add_dir[4]>", line 1, in ?
("x_lalala", "path with\(sp) space") in inv
NameError: name 'inv' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 136, in bzrlib.plugins.bzrtools.baz_import.add_dir
Failed example:
teardown_environ(q)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.add_dir[5]>", line 1, in ?
teardown_environ(q)
NameError: name 'q' is not defined
======================================================================
FAIL: add_file (bzrlib.plugins.bzrtools.baz_import)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for bzrlib.plugins.bzrtools.baz_import.add_file
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 114, in add_file
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 116, in bzrlib.plugins.bzrtools.baz_import.add_file
Failed example:
q = test_environ()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.add_file[0]>", line 1, in ?
q = test_environ()
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 103, in test_environ
make_archive("test at example.com", arch_dir)
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 82, in make_archive
pb_location = pybaz.ArchiveLocation(location)
AttributeError: 'module' object has no attribute 'ArchiveLocation'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 117, in bzrlib.plugins.bzrtools.baz_import.add_file
Failed example:
add_file("path with space", "text", "lalala")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.add_file[1]>", line 1, in ?
add_file("path with space", "text", "lalala")
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 125, in add_file
add_id([path], id)
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 77, in add_id
return null_cmd(args)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 108, in null_cmd
_backend().null_cmd(args, chdir)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/commandline.py", line 121, in null_cmd
status = self._get_spawner().status_cmd(args, chdir, (0,))
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/commandline.py", line 230, in status_cmd
return self._guess().status_cmd(*args, **kwargs)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/forkexec.py", line 43, in status_cmd
logger=self._logger)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/forkexec.py", line 77, in exec_safe
proc.wait()
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/forkexec.py", line 361, in wait
raise ExecProblem(self)
ExecProblem: baz exited with code 1 (expected exit code 0)
argv: 'add-id', '--id', 'lalala', 'path with space'
* error report
Not in a project tree.
Failed to add id for path 'path with space'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 118, in bzrlib.plugins.bzrtools.baz_import.add_file
Failed example:
tree = pybaz.tree_root(".")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.add_file[2]>", line 1, in ?
tree = pybaz.tree_root(".")
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 2504, in tree_root
root = _arch.tree_root(directory)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 218, in tree_root
if status == 1: raise errors.TreeRootError(dir)
TreeRootError: directory is not inside a project tree: '.'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 119, in bzrlib.plugins.bzrtools.baz_import.add_file
Failed example:
inv = list(tree.iter_inventory_ids(source=True, both=True))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.add_file[3]>", line 1, in ?
inv = list(tree.iter_inventory_ids(source=True, both=True))
NameError: name 'tree' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 120, in bzrlib.plugins.bzrtools.baz_import.add_file
Failed example:
("x_lalala", "path with space") in inv
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.add_file[4]>", line 1, in ?
("x_lalala", "path with space") in inv
NameError: name 'inv' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 122, in bzrlib.plugins.bzrtools.baz_import.add_file
Failed example:
teardown_environ(q)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.add_file[5]>", line 1, in ?
teardown_environ(q)
NameError: name 'q' is not defined
======================================================================
FAIL: commit (bzrlib.plugins.bzrtools.baz_import)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for bzrlib.plugins.bzrtools.baz_import.commit
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 150, in commit
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 152, in bzrlib.plugins.bzrtools.baz_import.commit
Failed example:
q = test_environ()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit[0]>", line 1, in ?
q = test_environ()
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 103, in test_environ
make_archive("test at example.com", arch_dir)
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 82, in make_archive
pb_location = pybaz.ArchiveLocation(location)
AttributeError: 'module' object has no attribute 'ArchiveLocation'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 153, in bzrlib.plugins.bzrtools.baz_import.commit
Failed example:
tree = pybaz.tree_root(".")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit[1]>", line 1, in ?
tree = pybaz.tree_root(".")
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 2504, in tree_root
root = _arch.tree_root(directory)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 218, in tree_root
if status == 1: raise errors.TreeRootError(dir)
TreeRootError: directory is not inside a project tree: '.'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 154, in bzrlib.plugins.bzrtools.baz_import.commit
Failed example:
timport(tree, "import")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit[2]>", line 1, in ?
timport(tree, "import")
NameError: name 'tree' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 155, in bzrlib.plugins.bzrtools.baz_import.commit
Failed example:
commit(tree, "commit")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit[3]>", line 1, in ?
commit(tree, "commit")
NameError: name 'tree' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 156, in bzrlib.plugins.bzrtools.baz_import.commit
Failed example:
logs = [str(l.revision) for l in tree.iter_logs()]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit[4]>", line 1, in ?
logs = [str(l.revision) for l in tree.iter_logs()]
NameError: name 'tree' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 157, in bzrlib.plugins.bzrtools.baz_import.commit
Failed example:
len(logs)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit[5]>", line 1, in ?
len(logs)
NameError: name 'logs' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 159, in bzrlib.plugins.bzrtools.baz_import.commit
Failed example:
logs[0]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit[6]>", line 1, in ?
logs[0]
NameError: name 'logs' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 161, in bzrlib.plugins.bzrtools.baz_import.commit
Failed example:
logs[1]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit[7]>", line 1, in ?
logs[1]
NameError: name 'logs' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 163, in bzrlib.plugins.bzrtools.baz_import.commit
Failed example:
teardown_environ(q)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit[8]>", line 1, in ?
teardown_environ(q)
NameError: name 'q' is not defined
======================================================================
FAIL: commit_more_test_revisions (bzrlib.plugins.bzrtools.baz_import)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 194, in commit_more_test_revisions
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 196, in bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions
Failed example:
q = test_environ()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions[0]>", line 1, in ?
q = test_environ()
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 103, in test_environ
make_archive("test at example.com", arch_dir)
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 82, in make_archive
pb_location = pybaz.ArchiveLocation(location)
AttributeError: 'module' object has no attribute 'ArchiveLocation'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 197, in bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions
Failed example:
commit_test_revisions()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions[1]>", line 1, in ?
commit_test_revisions()
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 185, in commit_test_revisions
tree = pybaz.tree_root(".")
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 2504, in tree_root
root = _arch.tree_root(directory)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 218, in tree_root
if status == 1: raise errors.TreeRootError(dir)
TreeRootError: directory is not inside a project tree: '.'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 198, in bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions
Failed example:
commit_more_test_revisions()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions[2]>", line 1, in ?
commit_more_test_revisions()
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 207, in commit_more_test_revisions
tree = pybaz.tree_root(".")
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 2504, in tree_root
root = _arch.tree_root(directory)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 218, in tree_root
if status == 1: raise errors.TreeRootError(dir)
TreeRootError: directory is not inside a project tree: '.'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 200, in bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions
Failed example:
revisions = list(a.iter_revisions("test--test--0"))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions[4]>", line 1, in ?
revisions = list(a.iter_revisions("test--test--0"))
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 463, in iter_revisions
for v in self.iter_versions(reverse):
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 498, in iter_versions
for b in self.iter_branches():
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 533, in iter_branches
for c in self.iter_categories():
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 1025, in iter_categories
for c in _arch.categories(self.name):
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/forkexec.py", line 58, in next
line = self._proc.next()
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/forkexec.py", line 201, in next
self.close()
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/forkexec.py", line 173, in close
self.proc.wait()
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/forkexec.py", line 361, in wait
raise ExecProblem(self)
ExecProblem: baz exited with code 2 (expected exit code 0)
argv: 'categories', '--archive', 'test at example.com'
* error report
unhandled option `--archive'
usage: baz categories [options] [archive]
try categories --help
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 201, in bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions
Failed example:
len(revisions)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions[5]>", line 1, in ?
len(revisions)
NameError: name 'revisions' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 203, in bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions
Failed example:
str(revisions[0])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions[6]>", line 1, in ?
str(revisions[0])
NameError: name 'revisions' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 205, in bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions
Failed example:
teardown_environ(q)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_more_test_revisions[7]>", line 1, in ?
teardown_environ(q)
NameError: name 'q' is not defined
======================================================================
FAIL: commit_test_revisions (bzrlib.plugins.bzrtools.baz_import)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for bzrlib.plugins.bzrtools.baz_import.commit_test_revisions
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 169, in commit_test_revisions
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 171, in bzrlib.plugins.bzrtools.baz_import.commit_test_revisions
Failed example:
q = test_environ()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_test_revisions[0]>", line 1, in ?
q = test_environ()
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 103, in test_environ
make_archive("test at example.com", arch_dir)
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 82, in make_archive
pb_location = pybaz.ArchiveLocation(location)
AttributeError: 'module' object has no attribute 'ArchiveLocation'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 172, in bzrlib.plugins.bzrtools.baz_import.commit_test_revisions
Failed example:
commit_test_revisions()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_test_revisions[1]>", line 1, in ?
commit_test_revisions()
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 185, in commit_test_revisions
tree = pybaz.tree_root(".")
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 2504, in tree_root
root = _arch.tree_root(directory)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 218, in tree_root
if status == 1: raise errors.TreeRootError(dir)
TreeRootError: directory is not inside a project tree: '.'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 174, in bzrlib.plugins.bzrtools.baz_import.commit_test_revisions
Failed example:
revisions = list(a.iter_revisions("test--test--0"))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_test_revisions[3]>", line 1, in ?
revisions = list(a.iter_revisions("test--test--0"))
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 463, in iter_revisions
for v in self.iter_versions(reverse):
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 498, in iter_versions
for b in self.iter_branches():
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 533, in iter_branches
for c in self.iter_categories():
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 1025, in iter_categories
for c in _arch.categories(self.name):
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/forkexec.py", line 58, in next
line = self._proc.next()
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/forkexec.py", line 201, in next
self.close()
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/forkexec.py", line 173, in close
self.proc.wait()
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/forkexec.py", line 361, in wait
raise ExecProblem(self)
ExecProblem: baz exited with code 2 (expected exit code 0)
argv: 'categories', '--archive', 'test at example.com'
* error report
unhandled option `--archive'
usage: baz categories [options] [archive]
try categories --help
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 175, in bzrlib.plugins.bzrtools.baz_import.commit_test_revisions
Failed example:
len(revisions)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_test_revisions[4]>", line 1, in ?
len(revisions)
NameError: name 'revisions' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 177, in bzrlib.plugins.bzrtools.baz_import.commit_test_revisions
Failed example:
str(revisions[2])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_test_revisions[5]>", line 1, in ?
str(revisions[2])
NameError: name 'revisions' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 179, in bzrlib.plugins.bzrtools.baz_import.commit_test_revisions
Failed example:
str(revisions[1])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_test_revisions[6]>", line 1, in ?
str(revisions[1])
NameError: name 'revisions' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 181, in bzrlib.plugins.bzrtools.baz_import.commit_test_revisions
Failed example:
str(revisions[0])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_test_revisions[7]>", line 1, in ?
str(revisions[0])
NameError: name 'revisions' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 183, in bzrlib.plugins.bzrtools.baz_import.commit_test_revisions
Failed example:
teardown_environ(q)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.commit_test_revisions[8]>", line 1, in ?
teardown_environ(q)
NameError: name 'q' is not defined
======================================================================
FAIL: import_version (bzrlib.plugins.bzrtools.baz_import)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for bzrlib.plugins.bzrtools.baz_import.import_version
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 356, in import_version
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 358, in bzrlib.plugins.bzrtools.baz_import.import_version
Failed example:
q = test_environ()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.import_version[0]>", line 1, in ?
q = test_environ()
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 103, in test_environ
make_archive("test at example.com", arch_dir)
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 82, in make_archive
pb_location = pybaz.ArchiveLocation(location)
AttributeError: 'module' object has no attribute 'ArchiveLocation'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 365, in bzrlib.plugins.bzrtools.baz_import.import_version
Failed example:
result_path = os.path.join(q, "result")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.import_version[3]>", line 1, in ?
result_path = os.path.join(q, "result")
NameError: name 'q' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 366, in bzrlib.plugins.bzrtools.baz_import.import_version
Failed example:
commit_test_revisions()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.import_version[4]>", line 1, in ?
commit_test_revisions()
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 185, in commit_test_revisions
tree = pybaz.tree_root(".")
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 2504, in tree_root
root = _arch.tree_root(directory)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 218, in tree_root
if status == 1: raise errors.TreeRootError(dir)
TreeRootError: directory is not inside a project tree: '.'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 375, in bzrlib.plugins.bzrtools.baz_import.import_version
Failed example:
import_version(result_path, version, dry_run=True)
Expected:
Traceback (most recent call last):
UserError: The version test at example.com/test--test--0.1 does not exist.
Got:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.import_version[9]>", line 1, in ?
import_version(result_path, version, dry_run=True)
NameError: name 'result_path' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 379, in bzrlib.plugins.bzrtools.baz_import.import_version
Failed example:
import_version(result_path, version, dry_run=True) #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.import_version[11]>", line 1, in ?
import_version(result_path, version, dry_run=True) #doctest: +ELLIPSIS
NameError: name 'result_path' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 385, in bzrlib.plugins.bzrtools.baz_import.import_version
Failed example:
import_version(result_path, version) #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.import_version[12]>", line 1, in ?
import_version(result_path, version) #doctest: +ELLIPSIS
NameError: name 'result_path' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 391, in bzrlib.plugins.bzrtools.baz_import.import_version
Failed example:
import_version(result_path, version) #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.import_version[13]>", line 1, in ?
import_version(result_path, version) #doctest: +ELLIPSIS
NameError: name 'result_path' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 393, in bzrlib.plugins.bzrtools.baz_import.import_version
Failed example:
commit_more_test_revisions()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.import_version[14]>", line 1, in ?
commit_more_test_revisions()
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 207, in commit_more_test_revisions
tree = pybaz.tree_root(".")
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 2504, in tree_root
root = _arch.tree_root(directory)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 218, in tree_root
if status == 1: raise errors.TreeRootError(dir)
TreeRootError: directory is not inside a project tree: '.'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 394, in bzrlib.plugins.bzrtools.baz_import.import_version
Failed example:
import_version(result_path, version) #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.import_version[15]>", line 1, in ?
import_version(result_path, version) #doctest: +ELLIPSIS
NameError: name 'result_path' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 401, in bzrlib.plugins.bzrtools.baz_import.import_version
Failed example:
teardown_environ(q)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.import_version[18]>", line 1, in ?
teardown_environ(q)
NameError: name 'q' is not defined
======================================================================
FAIL: test_environ (bzrlib.plugins.bzrtools.baz_import)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for bzrlib.plugins.bzrtools.baz_import.test_environ
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 86, in test_environ
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 88, in bzrlib.plugins.bzrtools.baz_import.test_environ
Failed example:
q = test_environ()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.test_environ[0]>", line 1, in ?
q = test_environ()
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 103, in test_environ
make_archive("test at example.com", arch_dir)
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 82, in make_archive
pb_location = pybaz.ArchiveLocation(location)
AttributeError: 'module' object has no attribute 'ArchiveLocation'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 89, in bzrlib.plugins.bzrtools.baz_import.test_environ
Failed example:
os.path.exists(q)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.test_environ[1]>", line 1, in ?
os.path.exists(q)
NameError: name 'q' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 91, in bzrlib.plugins.bzrtools.baz_import.test_environ
Failed example:
os.path.exists(os.path.join(q, "home", ".arch-params"))
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.test_environ[2]>", line 1, in ?
os.path.exists(os.path.join(q, "home", ".arch-params"))
NameError: name 'q' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 93, in bzrlib.plugins.bzrtools.baz_import.test_environ
Failed example:
teardown_environ(q)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.test_environ[3]>", line 1, in ?
teardown_environ(q)
NameError: name 'q' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 94, in bzrlib.plugins.bzrtools.baz_import.test_environ
Failed example:
os.path.exists(q)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.test_environ[4]>", line 1, in ?
os.path.exists(q)
NameError: name 'q' is not defined
======================================================================
FAIL: version_ancestry (bzrlib.plugins.bzrtools.baz_import)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for bzrlib.plugins.bzrtools.baz_import.version_ancestry
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 216, in version_ancestry
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 218, in bzrlib.plugins.bzrtools.baz_import.version_ancestry
Failed example:
q = test_environ()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.version_ancestry[0]>", line 1, in ?
q = test_environ()
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 103, in test_environ
make_archive("test at example.com", arch_dir)
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 82, in make_archive
pb_location = pybaz.ArchiveLocation(location)
AttributeError: 'module' object has no attribute 'ArchiveLocation'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 219, in bzrlib.plugins.bzrtools.baz_import.version_ancestry
Failed example:
commit_test_revisions()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.version_ancestry[1]>", line 1, in ?
commit_test_revisions()
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 185, in commit_test_revisions
tree = pybaz.tree_root(".")
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 2504, in tree_root
root = _arch.tree_root(directory)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 218, in tree_root
if status == 1: raise errors.TreeRootError(dir)
TreeRootError: directory is not inside a project tree: '.'
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 221, in bzrlib.plugins.bzrtools.baz_import.version_ancestry
Failed example:
ancestors = version_ancestry(version)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.version_ancestry[3]>", line 1, in ?
ancestors = version_ancestry(version)
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 238, in version_ancestry
if not version.exists():
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 1492, in exists
return _arch.version_exists(self._archive, self._nonarch)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 407, in version_exists
if not branch_exists(archive, package):
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 399, in branch_exists
if not category_exists(archive, category):
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 392, in category_exists
raise errors.ArchiveNotRegistered(archive)
ArchiveNotRegistered: archive not registered: test at example.com
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 222, in bzrlib.plugins.bzrtools.baz_import.version_ancestry
Failed example:
str(ancestors[0])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.version_ancestry[4]>", line 1, in ?
str(ancestors[0])
NameError: name 'ancestors' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 224, in bzrlib.plugins.bzrtools.baz_import.version_ancestry
Failed example:
str(ancestors[1])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.version_ancestry[5]>", line 1, in ?
str(ancestors[1])
NameError: name 'ancestors' is not defined
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 227, in bzrlib.plugins.bzrtools.baz_import.version_ancestry
Failed example:
ancestors = version_ancestry(version)
Expected:
Traceback (most recent call last):
NoSuchVersion: The version test at example.com/test--test--0.5 does not exist.
Got:
test at example.com/test--test--0.5
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.version_ancestry[7]>", line 1, in ?
ancestors = version_ancestry(version)
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 238, in version_ancestry
if not version.exists():
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/_builtin.py", line 1492, in exists
return _arch.version_exists(self._archive, self._nonarch)
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 407, in version_exists
if not branch_exists(archive, package):
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 399, in branch_exists
if not category_exists(archive, category):
File "/home/moy/local/usr/src/pybaz-1.1/pybaz/backends/baz.py", line 392, in category_exists
raise errors.ArchiveNotRegistered(archive)
ArchiveNotRegistered: archive not registered: test at example.com
----------------------------------------------------------------------
File "/home/moy/.bazaar/plugins/bzrtools/baz_import.py", line 230, in bzrlib.plugins.bzrtools.baz_import.version_ancestry
Failed example:
teardown_environ(q)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest bzrlib.plugins.bzrtools.baz_import.version_ancestry[8]>", line 1, in ?
teardown_environ(q)
NameError: name 'q' is not defined
----------------------------------------------------------------------
Ran 3174 tests in 406.485s
FAILED (failures=11)
More information about the bazaar
mailing list