[MERGE] Progress on passing the full test suite on OSX

Vincent Ladeuil v.ladeuil+lp at free.fr
Thu Sep 20 14:30:08 BST 2007


A non-text attachment was scrubbed...
Name: osx.test.suite.patch
Type: text/x-diff
Size: 11942 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070920/dedbc42a/attachment-0001.bin 
-------------- next part --------------
TMPDIR=~/tmp ./bzr selftest 
testing: /Volumes/home/vila/src/bugs/osx.pass.test.suite/bzr
   /Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib (0.92.0dev0 python2.5.0.final.0)

/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/transport/ftp.py:779: UserWarning: You must install medusa (http://www.amk.ca/python/code/medusa.html) for FTP tests
  warn("You must install medusa (http://www.amk.ca/python/code/medusa.html) for FTP tests")
Unable to test plugin "gtk": No module named pygtk
XFAIL: test_bundle.V08BundleTester.test_unicode_bundle
Mac OSX doesn't preserve unicode combining characters.

XFAIL: test_bundle.V09BundleKnit1Tester.test_unicode_bundle
Mac OSX doesn't preserve unicode combining characters.

XFAIL: test_bundle.V09BundleKnit2Tester.test_unicode_bundle
Mac OSX doesn't preserve unicode combining characters.

XFAIL: test_bundle.V4BundleTester.test_unicode_bundle
Mac OSX doesn't preserve unicode combining characters.

XFAIL: test_bundle.V4WeaveBundleTester.test_unicode_bundle
Mac OSX doesn't preserve unicode combining characters and WorkingTree3 failed to detect removed files

ERROR: test_msgeditor.MsgEditorTest.test_edit_commit_message
    'ascii' codec can't encode character u'\u1234' in position 0: ordinal not in range(128)

XFAIL: test_sftp_transport.SFTPTransportTestRelative.test__remote_path
Mac OSX symlinks /tmp to /private/tmp, testing against self.test_dir is not appropriate

XFAIL: test_tag.TestTagsInCheckouts.test_tag_deletion_from_master_to_bound
tag deletion does not propagate: https://bugs.launchpad.net/bzr/+bug/138802

[5581/8317 in 800s, 1 errors, 7 known failures, 491 skipped, 7 missing features/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/lockable_files.py:110: UserWarning: file group LockableFiles(<bzrlib.transport.remote.RemoteTCPTransport url=bzr://127.0.0.1:59477/b/.bzr/repository/>) was not explicitly unlocked
  warn("file group %r was not explicitly unlocked" % self)
[5585/8317 in 805s, 1 errors, 7 known failures, 491 skipped, 7 missing features/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/lockable_files.py:110: UserWarning: file group LockableFiles(<bzrlib.transport.remote.RemoteTCPTransport url=bzr://127.0.0.1:59489/b/.bzr/repository/>) was not explicitly unlocked
  warn("file group %r was not explicitly unlocked" % self)
ERROR: tree_implementations.test_test_trees.TestTreeShapes.test_tree_with_merged_utf8(WorkingTreeFormat4)
    Working tree "/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/" has uncommitted changes.

ERROR: tree_implementations.test_test_trees.TestTreeShapes.test_tree_with_merged_utf8(DirStateRevisionTree)
    Working tree "/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/" has uncommitted changes.

[8317/8317 in 1237s, 3 errors, 7 known failures, 765 skipped, 7 missing feature
======================================================================
ERROR: test_edit_commit_message (bzrlib.tests.test_msgeditor.MsgEditorTest)

vvvv[log from bzrlib.tests.test_msgeditor.MsgEditorTest.test_edit_commit_message]
created control directory in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpgsESwJ/work/
creating repository in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpgsESwJ/work/.bzr/.
creating branch <bzrlib.branch.BzrBranchFormat6 object at 0x3913290> in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpgsESwJ/work/.bzr/
trying to create missing lock '/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpgsESwJ/work/.bzr/checkout/dirstate'
opening working tree '/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpgsESwJ/work'
edit_commit_message without infotext
edit_commit_message with unicode infotext

^^^^[log from bzrlib.tests.test_msgeditor.MsgEditorTest.test_edit_commit_message]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/tests/test_msgeditor.py", line 167, in test_edit_commit_message
    msgeditor.edit_commit_message(u'\u1234'))
  File "/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/msgeditor.py", line 105, in edit_commit_message
    return edit_commit_message_encoded(infotext.encode(bzrlib.user_encoding),
UnicodeEncodeError: 'ascii' codec can't encode character u'\u1234' in position 0: ordinal not in range(128)

======================================================================
ERROR: test_tree_with_merged_utf8 (bzrlib.tests.tree_implementations.test_test_trees.TestTreeShapes)

vvvv[log from bzrlib.tests.tree_implementations.test_test_trees.TestTreeShapes.test_tree_with_merged_utf8(WorkingTreeFormat4)]
created control directory in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/
creating repository in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/.bzr/.
creating branch <bzrlib.branch.BzrBranchFormat6 object at 0x2c4d730> in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/.bzr/
trying to create missing lock '/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/.bzr/checkout/dirstate'
opening working tree '/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work'
preparing to commit
    INFO  Committing revision 1 to "/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/".
Selecting files for commit with filter None
    INFO  added b?r
    INFO  added f?
    INFO  added b?r/b?z
added revision_id {r?v-1}
    INFO  Committed revision 1.
opening working tree '/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work'
created control directory in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/tree2/
creating repository in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/tree2/.bzr/.
Using fetch logic to copy between KnitRepository3('file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/.bzr/')(<RepositoryFormatKnit3>) and KnitRepository3('file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/tree2/.bzr/')(<RepositoryFormatKnit3>)
fetch up to rev {None}
added revision_id {r?v-1}
creating branch <bzrlib.branch.BzrBranchFormat6 object at 0x125b350> in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/tree2/.bzr/
trying to create missing lock '/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/tree2/.bzr/checkout/dirstate'
opening working tree '/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/tree2'
opening working tree '/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/tree2'
preparing to commit
    INFO  Committing revision 2 to "/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/tree2/".
Selecting files for commit with filter None
    INFO  added b?r/z?z
added revision_id {r?v-2}
    INFO  Committed revision 2.

^^^^[log from bzrlib.tests.tree_implementations.test_test_trees.TestTreeShapes.test_tree_with_merged_utf8(WorkingTreeFormat4)]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/tests/tree_implementations/test_test_trees.py", line 260, in test_tree_with_merged_utf8
    tree = self.get_tree_with_merged_utf8(tree)
  File "/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/tests/tree_implementations/__init__.py", line 286, in get_tree_with_merged_utf8
    tree.merge_from_branch(tree2.branch)
  File "/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/workingtree.py", line 826, in merge_from_branch
    merger.check_basis(check_clean=True, require_commits=False)
  File "/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/merge.py", line 212, in check_basis
    raise errors.UncommittedChanges(self.this_tree)
UncommittedChanges: Working tree "/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpQ1wStd/work/" has uncommitted changes.

======================================================================
ERROR: test_tree_with_merged_utf8 (bzrlib.tests.tree_implementations.test_test_trees.TestTreeShapes)

vvvv[log from bzrlib.tests.tree_implementations.test_test_trees.TestTreeShapes.test_tree_with_merged_utf8(DirStateRevisionTree)]
created control directory in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/
creating repository in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/.bzr/.
creating branch <bzrlib.branch.BzrBranchFormat6 object at 0x2c4d6f0> in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/.bzr/
trying to create missing lock '/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/.bzr/checkout/dirstate'
opening working tree '/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work'
preparing to commit
    INFO  Committing revision 1 to "/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/".
Selecting files for commit with filter None
    INFO  added b?r
    INFO  added f?
    INFO  added b?r/b?z
added revision_id {r?v-1}
    INFO  Committed revision 1.
opening working tree '/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work'
created control directory in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/tree2/
creating repository in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/tree2/.bzr/.
Using fetch logic to copy between KnitRepository3('file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/.bzr/')(<RepositoryFormatKnit3>) and KnitRepository3('file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/tree2/.bzr/')(<RepositoryFormatKnit3>)
fetch up to rev {None}
added revision_id {r?v-1}
creating branch <bzrlib.branch.BzrBranchFormat6 object at 0x125b350> in file:///Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/tree2/.bzr/
trying to create missing lock '/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/tree2/.bzr/checkout/dirstate'
opening working tree '/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/tree2'
opening working tree '/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/tree2'
preparing to commit
    INFO  Committing revision 2 to "/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/tree2/".
Selecting files for commit with filter None
    INFO  added b?r/z?z
added revision_id {r?v-2}
    INFO  Committed revision 2.

^^^^[log from bzrlib.tests.tree_implementations.test_test_trees.TestTreeShapes.test_tree_with_merged_utf8(DirStateRevisionTree)]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/tests/tree_implementations/test_test_trees.py", line 260, in test_tree_with_merged_utf8
    tree = self.get_tree_with_merged_utf8(tree)
  File "/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/tests/tree_implementations/__init__.py", line 286, in get_tree_with_merged_utf8
    tree.merge_from_branch(tree2.branch)
  File "/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/workingtree.py", line 826, in merge_from_branch
    merger.check_basis(check_clean=True, require_commits=False)
  File "/Volumes/home/vila/src/bugs/osx.pass.test.suite/bzrlib/merge.py", line 212, in check_basis
    raise errors.UncommittedChanges(self.this_tree)
UncommittedChanges: Working tree "/Volumes/home/vila/tmp/testbzr-h9an_p.tmp/tmpyuQfDa/work/" has uncommitted changes.

----------------------------------------------------------------------
Ran 8317 tests in 1237.859s

FAILED (errors=3, known_failure_count=7)
765 tests skipped
Missing feature 'Internally performed glob expansion' skipped 5 tests.
Missing feature '_winreg' skipped 2 tests.
Missing feature 'bzrlib._dirstate_helpers_c' skipped 22 tests.
Missing feature 'bzrlib._knit_load_data_c' skipped 35 tests.
Missing feature 'bzrlib._patiencediff_c' skipped 8 tests.
Missing feature 'medusa' skipped 2 tests.
Missing feature 'strace' skipped 3 tests.
vila:~/src/bugs/osx.pass.test.suite :( $ 


More information about the bazaar mailing list