[Buildbot-commits] [Buildbot] #2535: SVN Update steps are not marked failures due to rmDirRecursive failing
Buildbot trac
trac at buildbot.net
Fri Jul 26 19:49:16 UTC 2013
#2535: SVN Update steps are not marked failures due to rmDirRecursive failing
------------------------+---------------------------------
Reporter: kkryger | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: undecided
Version: 0.8.6p1 | Keywords: svn, steps, windows
------------------------+---------------------------------
The issue is not fixing the reason for the failure to remove the
directory, a process was holding onto a folder that the SVN step
('clobber') was attempting to delete. It's for a possible failure being
added.
It would be a nice addition that the SVN step would flag the exception
below as a failure to checkout, instead of continuing on and reporting
success. I also get this for WindowsError: [Error 5]
The exceptions is below:
{{{
starting svn operation
exception from rmdirRecursive
Traceback (most recent call last):
File "C:\python25\lib\threading.py", line 462, in __bootstrap
self.__bootstrap_inner()
File "C:\python25\lib\threading.py", line 486, in __bootstrap_inner
self.run()
File "C:\python25\lib\threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
File "C:\Python25\lib\site-packages\twisted\python\threadpool.py", line
207, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "C:\Python25\lib\site-packages\twisted\python\context.py", line
118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "C:\Python25\lib\site-packages\twisted\python\context.py", line 81,
in callWithContext
return func(*args,**kw)
File "C:\Python25\lib\site-
packages\buildbot_slave-0.8.6p1-py2.5.egg\buildslave\commands\utils.py",
line 91, in rmdirRecursive
rmdirRecursive(full_name)
File "C:\Python25\lib\site-
packages\buildbot_slave-0.8.6p1-py2.5.egg\buildslave\commands\utils.py",
line 91, in rmdirRecursive
rmdirRecursive(full_name)
File "C:\Python25\lib\site-
packages\buildbot_slave-0.8.6p1-py2.5.egg\buildslave\commands\utils.py",
line 91, in rmdirRecursive
rmdirRecursive(full_name)
File "C:\Python25\lib\site-
packages\buildbot_slave-0.8.6p1-py2.5.egg\buildslave\commands\utils.py",
line 91, in rmdirRecursive
rmdirRecursive(full_name)
File "C:\Python25\lib\site-
packages\buildbot_slave-0.8.6p1-py2.5.egg\buildslave\commands\utils.py",
line 95, in rmdirRecursive
os.remove(full_name)
exceptions.WindowsError: [Error 32] The process cannot access the file
because it is being used by another process: u'someFile.cpp'
exception from rmdirRecursive
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/2535>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list