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

Andrew Bennetts andrew at canonical.com
Thu Sep 28 04:10:11 BST 2006


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.  For example,
the simple patch from Lukáš Lalinský (subject: "bzr serve" on windows) probably
helps the blackbox tests.

-Andrew.





More information about the bazaar mailing list