selftest fail on bzr1.11 python 2.5.2

Bug #347630 reported by grissiom
2
Affects Status Importance Assigned to Milestone
Bazaar Fast Import
Won't Fix
Undecided
Unassigned

Bug Description

$ bzr selftest fastimport
testing: /usr/bin/bzr
   /usr/lib/python2.5/site-packages/bzrlib (1.11 python2.5.2)

FAIL: bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_move_to_new_dir
    [] is renamed
not equal:
a = 0
b = 1

FAIL: bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_rename_in_root
    [] is renamed
not equal:
a = 0
b = 1

FAIL: bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_rename_in_subdir
    [] is renamed
not equal:
a = 0
b = 1

======================================================================
FAIL: 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]
11.567 creating repository in file:///tmp/testbzr-4OzVRm.tmp/bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_move_to_new_dir/work/.bzr/.
11.579 creating branch <bzrlib.branch.BzrBranchFormat6 object at 0x9e4dc2c> in file:///tmp/testbzr-4OzVRm.tmp/bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_move_to_new_dir/work/.bzr/
    INFO 07:09:43 Updating branch information ...
    INFO branch work now has 2 revisions and 0 tags
    INFO 07:09:43 Imported 2 revisions, updating 1 branch and 0 trees in 0:00:00
    INFO To refresh the working tree for a branch, use 'bzr update'.
11.705 opening working tree '/tmp/testbzr-4OzVRm.tmp'

^^^^[log from bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_move_to_new_dir]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/grissiom/.bazaar/plugins/fastimport/tests/test_processor.py", line 153, in test_move_to_new_dir
    expected_added=[('b',)])
  File "/home/grissiom/.bazaar/plugins/fastimport/tests/test_processor.py", line 87, in check_changes
    "%s is renamed" % str(renamed))
AssertionError: [] is renamed
not equal:
a = 0
b = 1

======================================================================
FAIL: 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]
11.725 creating repository in file:///tmp/testbzr-4OzVRm.tmp/bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_rename_in_root/work/.bzr/.
11.739 creating branch <bzrlib.branch.BzrBranchFormat6 object at 0x9e5118c> in file:///tmp/testbzr-4OzVRm.tmp/bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_rename_in_root/work/.bzr/
    INFO 07:09:43 Updating branch information ...
    INFO branch work now has 2 revisions and 0 tags
    INFO 07:09:43 Imported 2 revisions, updating 1 branch and 0 trees in 0:00:00
    INFO To refresh the working tree for a branch, use 'bzr update'.
11.881 opening working tree '/tmp/testbzr-4OzVRm.tmp'

^^^^[log from bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_rename_in_root]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/grissiom/.bazaar/plugins/fastimport/tests/test_processor.py", line 128, in test_rename_in_root
    self.check_changes(changes, expected_renamed=[(old_path, new_path)])
  File "/home/grissiom/.bazaar/plugins/fastimport/tests/test_processor.py", line 87, in check_changes
    "%s is renamed" % str(renamed))
AssertionError: [] is renamed
not equal:
a = 0
b = 1

======================================================================
FAIL: 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]
11.900 creating repository in file:///tmp/testbzr-4OzVRm.tmp/bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_rename_in_subdir/work/.bzr/.
11.911 creating branch <bzrlib.branch.BzrBranchFormat6 object at 0x8368ccc> in file:///tmp/testbzr-4OzVRm.tmp/bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_rename_in_subdir/work/.bzr/
    INFO 07:09:43 Updating branch information ...
    INFO branch work now has 2 revisions and 0 tags
    INFO 07:09:43 Imported 2 revisions, updating 1 branch and 0 trees in 0:00:00
    INFO To refresh the working tree for a branch, use 'bzr update'.
12.028 opening working tree '/tmp/testbzr-4OzVRm.tmp'

^^^^[log from bzrlib.plugins.fastimport.tests.test_processor.TestRename.test_rename_in_subdir]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/grissiom/.bazaar/plugins/fastimport/tests/test_processor.py", line 140, in test_rename_in_subdir
    self.check_changes(changes, expected_renamed=[(old_path, new_path)])
  File "/home/grissiom/.bazaar/plugins/fastimport/tests/test_processor.py", line 87, in check_changes
    "%s is renamed" % str(renamed))
AssertionError: [] is renamed
not equal:
a = 0
b = 1

----------------------------------------------------------------------
Ran 18 tests in 1.064s

FAILED (failures=3)
tests failed

$ bzr --version
Bazaar (bzr) 1.11
  Python interpreter: /usr/bin/python 2.5.2
  Python standard library: /usr/lib/python2.5
  bzrlib: /usr/lib/python2.5/site-packages/bzrlib
  Bazaar configuration: /home/grissiom/.bazaar
  Bazaar log file: /home/grissiom/.bzr.log

Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

Which revision of bzr-fastimport is this? Does it work now with bzr-fastimport rev 171 or later?

Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

Please retest with a more recent version of bzr and bzr-fastimport. If the problem no longer remains, please close this bug.

Revision history for this message
grissiom (chaos.proton) wrote :

Sorry that I don't use bzr too often this time... So feel free to close this bug entry if others don't have this problem. I will reopen it if I encountered this bug again. Thanks.

Changed in bzr-fastimport:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.