[bug][win32] selftest can't complete their work

Alexander Belchenko bialix at ukr.net
Thu Sep 28 10:13:02 BST 2006


Andrew Bennetts пишет:
> On Wed, Sep 27, 2006 at 04:36:37PM +0300, Alexander Belchenko wrote:
>> This bug exist in both bzr.dev and bzr.0.11rc2.
>>
>> When bzr selftest finish their operation and wrote logs for all failed
>> tests it got error and suddenly break (also leaving out temporary
>> directory test0000.tmp) with this error message:
>>
>> bzr: ERROR: [Errno 13] Permission denied:
>> 'c:\\docume~1\\modul98\\locals~1\\temp\\testbzrwgujlv.log'
>>
>> After examining temp directory content I found this file. It's indeed
>> exist. Last information that selftest wrote to output log is:
> 
> This looks like the log file created by TestCase._startLogFile.
> 
> Maybe the "Permission denied" is due to the cleanup function (_finishLogFile)
> trying to delete it while something else is still has it open, although I can't
> see how that could happen here.  Is there a traceback for this ERROR, perhaps in
> ..bzr.log?
> 
> [...]
>> I also wnat to say that too many smart-server related tests failed on
>> win32. Full list of failed tests in attached file 'failed.log'.
> 
> Yeah, that's a lot of failures.  I suspect most of them are shallow, but it's
> hard to fix when I don't have a Windows development environment.  

How I can help you to debug this?
I don't have enough time to research your code from scratch, but I can
try your patches or follow your suggestions.

For example,
> the simple patch from Lukáš Lalinský (subject: "bzr serve" on windows) probably
> helps the blackbox tests.

Yes, there is too much tests that affected by mentioned patch.

--
Alexander





More information about the bazaar mailing list