[rfc] known failure for all tests that fails because of OS locks @ win32

Alexander Belchenko bialix at ukr.net
Thu Apr 19 14:21:32 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

These tests I cannot fix because of OS locks problems on Windows:

ERROR: #354 test_dirstate.TestDirStateInitialize.test_initialize
    [Errno 13] Permission denied

ERROR: #909 test_merge.TestMerge.test_ignore_zero_merge_inner
    Could not acquire lock E:/work/selftest.win32/test0000.tmp/0K/00909/work/b/.bzr/checkout/dirstate

ERROR: #1162 test_revert.TestRevert.test_preserve_execute
    Could not acquire lock E:/work/selftest.win32/test0000.tmp/1K/01162/work/tree/.bzr/checkout/dirstate

ERROR: #1163 test_revert.TestRevert.test_revert_executable
    Could not acquire lock E:/work/selftest.win32/test0000.tmp/1K/01163/work/tree/.bzr/checkout/dirstate

ERROR: #1164 test_revert.TestRevert.test_revert_merged_dir
    Could not acquire lock
E:/work/selftest.win32/test0000.tmp/1K/01164/work/target/.bzr/checkout/dirstate

ERROR: #1339 test_sftp_transport.SFTPBranchTest.test_push_support
    Permission denied: 'lock/held': [Errno 13] Permission denied

ERROR: #1610 test_timestamp.TestPatchHeader.test_format_patch_date
    (22, 'Invalid argument')

ERROR: #1911 test_versionedfile.TestWeaveHTTP.test_readonly_http_works
    [Errno 13] Permission denied

FAIL: #2974 blackbox.test_info.TestInfo.test_info_locking
    not equal:
a = 0
b = 3


ERROR: #5426
workingtree_implementations.test_flush.TestFlush.test_flush_when_inventory_is_modified(WorkingTreeFormat4)
    Could not acquire lock E:/work/selftest.win32/test0000.tmp/5K/05426/work/tree/.bzr/checkout/dirstate

ERROR: #5531
workingtree_implementations.test_locking.TestWorkingTreeLocking.test_unlock_from_tree_write_lock_flushes(WorkingTreeFormat4)
    Could not acquire lock E:/work/selftest.win32/test0000.tmp/5K/05531/work/tree/.bzr/checkout/dirstate

ERROR: #5534
workingtree_implementations.test_locking.TestWorkingTreeLocking.test_unlock_from_write_lock_flushes(WorkingTreeFormat4)
    Could not acquire lock E:/work/selftest.win32/test0000.tmp/5K/05534/work/tree/.bzr/checkout/dirstate

ERROR: #5801
workingtree_implementations.test_set_root_id.TestSetRootId.test_set_and_read_unicode(WorkingTreeFormat4)
    Could not acquire lock
E:/work/selftest.win32/test0000.tmp/5K/05801/work/a-tree/.bzr/checkout/dirstate


Most of them used pattern try to create reference WT with read lock
after they created testing WT with write lock. Because on win32
such locks is mutually exclusive I'm give up to fix them.

May I mark all this tests as known failure @ win32?

[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGJ2zbzYr338mxwCURAtztAJ4gQx/os2m2PEzLm+sHS7iHY3hM6QCeO41S
d9Gwq+18IZkkgkV6ETv8hBQ=
=14Nz
-----END PGP SIGNATURE-----



More information about the bazaar mailing list