[win32] selftest result of 0.7rc3 (was: Re: bzr 0.7 release canidate 3)

Alexander Belchenko bialix at ukr.net
Sat Jan 21 13:23:53 GMT 2006


Martin Pool пишет:
> I'm happy to announce the 3rd release candidate for bzr 0.7.
> Bug reports are very welcome.

Here result of selftests on Windows.

First at all in version 0.7 added new win32-specific bug: at the end of
testing when temporary directory with test data try to be removed error
occurs:

E:\work\Python\bzr\bzr-0.7rc3>python bzr --no-plugins selftest -v > test.log
running tests...
bzr: ERROR: exceptions.OSError: [Errno 13] Permission denied:
u'E:/work/Python/bzr/bzr-0.7rc3/test0000.tmp\\test_transport.HttpTransportTest.test_copy_to\\test-transport-blftvd\\a'
   at C:\Python24\lib\shutil.py line 166
   in rmtree

This error caused by the fact that files a,b,c,d in directory of test
test_transport.HttpTransportTest.test_copy_to is marked as read-only:

E:\...ort.HttpTransportTest.test_copy_to\test-transport-blftvd>attrib
A    R
E:\work\Python\bzr\bzr-0.7rc3\test0000.tmp\test_transport.HttpTransportTest.test_copy_to\test-transport-blftvd\a
A    R
E:\work\Python\bzr\bzr-0.7rc3\test0000.tmp\test_transport.HttpTransportTest.test_copy_to\test-transport-blftvd\b
A    R
E:\work\Python\bzr\bzr-0.7rc3\test0000.tmp\test_transport.HttpTransportTest.test_copy_to\test-transport-blftvd\c
A    R
E:\work\Python\bzr\bzr-0.7rc3\test0000.tmp\test_transport.HttpTransportTest.test_copy_to\test-transport-blftvd\d

And python function shutil.rmtree unable to delete this files. This is
very unpleasant behaviour.

Results of tests:

Ran 602 tests in 105.235s

FAILED (failures=1)

Failed test is test_stays_executable
(bzrlib.tests.test_inv.TestExecutable). Because Windows has not support
executable bit and current WorkingTree does not simulate this feature. I
don't know: is this test should be skipped on Windows or not?

And here the list of skipped tests on my machine (I have not paramiko so
all SFTP test was skipped). 27 tests skipped:

test_permissions.TestPermissions.test_new_branch                  SKIP
    0ms
      chmod has no effect on win32
test_permissions.TestPermissions.test_new_files                   SKIP
    0ms
      chmod has no effect on win32
test_permissions.TestSftpPermissions.test_new_files               SKIP
    0ms
      you must have paramiko to run this test
test_permissions.TestSftpPermissions.test_sftp_server_modes       SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPBranchTest.test_lock_file                 SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPBranchTest.test_no_working_tree           SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPBranchTest.test_push_support              SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPNonServerTest.test_parse_invalid_url      SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPNonServerTest.test_parse_url              SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPNonServerTest.test_relpath                SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_append                 SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_append_file            SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_clone                  SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_connection_error       SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_copy                   SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_copy_to                SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_delete                 SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_get                    SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_has                    SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_list_dir               SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_mkdir                  SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_move                   SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_multiple_connections   SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_put                    SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_put_file               SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_sftp_locks             SKIP
    0ms
      you must have paramiko to run this test
test_sftp_transport.SFTPTransportTest.test_stat                   SKIP
    0ms
      you must have paramiko to run this test


--
Alexander






More information about the bazaar mailing list