BzrFastImport selftest failed
Guido Ostkamp
bazaar at ostkamp.fastmail.fm
Tue May 6 09:14:28 BST 2008
Hello,
I got BzrFastImport through a
"bzr branch
http://bazaar.launchpad.net/~bzr/bzr-fastimport/fastimport.dev"
command, since "bzr branch lp:bzr-fastimport fastimport" just hung
(probably due to company firewall restrictions).
After renaming and moving it to ~/.bazaar/plugins I tried the selftest,
but it failed:
$ bzr selftest fastimport
testing: /home/ostkamp/local/bin/bzr
/home/ostkamp/local/lib/python2.5/site-packages/bzrlib (1.4
python2.5.1)
ERROR:
bzrlib.plugins.fastimport.tests.test_parser.TestImportParser.test_iter_commands
'CommitCommand' object has no attribute 'parents'
ERROR:
bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_move_to_new_dir
__init__() takes at least 9 arguments (8 given)
ERROR:
bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_rename_in_root
__init__() takes at least 9 arguments (8 given)
ERROR:
bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_rename_in_subdir
__init__() takes at least 9 arguments (8 given)
======================================================================
ERROR: test_iter_commands
(bzrlib.plugins.fastimport.tests.test_parser.TestImportParser)
vvvv[log from
bzrlib.plugins.fastimport.tests.test_parser.TestImportParser.test_iter_commands]
^^^^[log from
bzrlib.plugins.fastimport.tests.test_parser.TestImportParser.test_iter_commands]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/ostkamp/.bazaar/plugins/fastimport/tests/test_parser.py",
line 138, in test_iter_commands
self.assertEqual([], cmd4.parents)
AttributeError: 'CommitCommand' object has no attribute 'parents'
======================================================================
ERROR: test_move_to_new_dir
(bzrlib.plugins.fastimport.tests.test_processor.TestRename)
vvvv[log from
bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_move_to_new_dir]
4.523 created control directory in file:///tmp/testbzr-ktsMAB.tmp/
4.530 creating repository in file:///tmp/testbzr-ktsMAB.tmp/.bzr/.
4.537 creating branch <bzrlib.branch.BzrBranchFormat6 object at
0x406a31ec> in file:///tmp/testbzr-ktsMAB.tmp/.bzr/
4.552 trying to create missing lock
'/tmp/testbzr-ktsMAB.tmp/.bzr/checkout/dirstate'
4.553 opening working tree '/tmp/testbzr-ktsMAB.tmp'
4.564 created control directory in
file:///tmp/testbzr-ktsMAB.tmp/tmpvErU7z/work/
4.569 creating repository in
file:///tmp/testbzr-ktsMAB.tmp/tmpvErU7z/work/.bzr/.
4.575 creating branch <bzrlib.branch.BzrBranchFormat6 object at
0x8a5d9cc> in file:///tmp/testbzr-ktsMAB.tmp/tmpvErU7z/work/.bzr/
4.601 opening working tree '/tmp/testbzr-ktsMAB.tmp'
^^^^[log from
bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_move_to_new_dir]
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/ostkamp/.bazaar/plugins/fastimport/tests/test_processor.py",
line 147, in test_move_to_new_dir
handler.process(command_list)
File "/home/ostkamp/.bazaar/plugins/fastimport/processor.py", line 83,
in process
self._process(command_iter)
File
"/home/ostkamp/.bazaar/plugins/fastimport/processors/generic_processor.py",
line 227, in _process
processor.ImportProcessor._process(self, command_iter)
File "/home/ostkamp/.bazaar/plugins/fastimport/processor.py", line 98,
in _process
for cmd in command_iter():
File
"/home/ostkamp/.bazaar/plugins/fastimport/tests/test_processor.py",
line 49, in command_list
committer, "commit 1", [], files_one)
TypeError: __init__() takes at least 9 arguments (8 given)
======================================================================
ERROR: test_rename_in_root
(bzrlib.plugins.fastimport.tests.test_processor.TestRename)
vvvv[log from
bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_rename_in_root]
4.607 created control directory in
file:///tmp/testbzr-ktsMAB.tmp/tmp_efLe0/work/
4.611 creating repository in
file:///tmp/testbzr-ktsMAB.tmp/tmp_efLe0/work/.bzr/.
4.617 creating branch <bzrlib.branch.BzrBranchFormat6 object at
0x8a55cec> in file:///tmp/testbzr-ktsMAB.tmp/tmp_efLe0/work/.bzr/
4.642 opening working tree '/tmp/testbzr-ktsMAB.tmp'
^^^^[log from
bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_rename_in_root]
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/ostkamp/.bazaar/plugins/fastimport/tests/test_processor.py",
line 123, in test_rename_in_root
handler.process(command_list)
File "/home/ostkamp/.bazaar/plugins/fastimport/processor.py", line 83,
in process
self._process(command_iter)
File
"/home/ostkamp/.bazaar/plugins/fastimport/processors/generic_processor.py",
line 227, in _process
processor.ImportProcessor._process(self, command_iter)
File "/home/ostkamp/.bazaar/plugins/fastimport/processor.py", line 98,
in _process
for cmd in command_iter():
File
"/home/ostkamp/.bazaar/plugins/fastimport/tests/test_processor.py",
line 49, in command_list
committer, "commit 1", [], files_one)
TypeError: __init__() takes at least 9 arguments (8 given)
======================================================================
ERROR: test_rename_in_subdir
(bzrlib.plugins.fastimport.tests.test_processor.TestRename)
vvvv[log from
bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_rename_in_subdir]
4.648 created control directory in
file:///tmp/testbzr-ktsMAB.tmp/tmpP6eOLl/work/
4.653 creating repository in
file:///tmp/testbzr-ktsMAB.tmp/tmpP6eOLl/work/.bzr/.
4.659 creating branch <bzrlib.branch.BzrBranchFormat6 object at
0x8ab38cc> in file:///tmp/testbzr-ktsMAB.tmp/tmpP6eOLl/work/.bzr/
4.683 opening working tree '/tmp/testbzr-ktsMAB.tmp'
^^^^[log from
bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_rename_in_subdir]
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/ostkamp/.bazaar/plugins/fastimport/tests/test_processor.py",
line 135, in test_rename_in_subdir
handler.process(command_list)
File "/home/ostkamp/.bazaar/plugins/fastimport/processor.py", line 83,
in process
self._process(command_iter)
File
"/home/ostkamp/.bazaar/plugins/fastimport/processors/generic_processor.py",
line 227, in _process
processor.ImportProcessor._process(self, command_iter)
File "/home/ostkamp/.bazaar/plugins/fastimport/processor.py", line 98,
in _process
for cmd in command_iter():
File
"/home/ostkamp/.bazaar/plugins/fastimport/tests/test_processor.py",
line 49, in command_list
committer, "commit 1", [], files_one)
TypeError: __init__() takes at least 9 arguments (8 given)
----------------------------------------------------------------------
Ran 16 tests in 0.193s
FAILED (errors=4)
tests failed
Any ideas, what's wrong here?
Best regards,
Guido
More information about the bazaar
mailing list