Hi all,<div><span style="font-size:15px"><br></span></div><div><span style="font-size:15px">One of potential problems with RemoveDirectory on Windows is that it uses ANSI version of Win32 API which cannot deal with too long names (more than MAXPATH, which, I believe, is about 260 characters), so you might want to check if the directory you're trying to remove has short enough name.</span></div><div><span style="font-size:15px"><br></span></div><div><span style="font-size:15px">Thanks,</span></div><div><span style="font-size:15px">Vasily<br></span><br>воскресенье, 26 июня 2016 г. пользователь Greg Bullock написал:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Thank
you for the reply and the links.</font></font></p>
<br>
<div>On 6/25/2016 3:19 PM, Tom Prince wrote:<br>
</div>
<blockquote type="cite"><br>
<blockquote type="cite">
<pre>The same step works fine in another builder on a CentOS 7 worker.
>From the Windows 7 worker's twistd.log:
[... omitted log lines ...]
</pre>
</blockquote>
<pre>The code that does the actual deletion
(<a href="https://github.com/buildbot/buildbot/blob/master/worker/buildbot_worker/commands/utils.py#L47-L97" target="_blank">https://github.com/buildbot/buildbot/blob/master/worker/buildbot_worker/commands/utils.py#L47-L97</a>)
does do a bit of logging on error (and sends tracebacks for unhandled
exceptions) so I suspect that this
is bit of logging is from a successful run.
</pre>
</blockquote>
<br>
The time stamp (2016-06-23 14:26:56-0700) on those entries match the
time step of a failed build, as viewed in the Waterfall Display.
Moreover, this particular build ran three times that day and failed
(on the RemoveDirectory step) all three times. I don't have access
to any details at the moment, but it might even be several days
since the last successful run.<br>
<br>
I'll tweak the configuration to make a special build with only the
RemoveDirectory step. And I'll add a few more log statements to
the buildbot_worker's rmdirRecursive source code.<br>
<br>
Any further insights or ideas, from you or anyone, would be most
welcome.<br>
<br>
By the way, I'm using buildbot version 0.8.12.<br>
<pre cols="72">--
Regards.
Greg Bullock
NorthWest Research Associates
301 Webster St.
Monterey CA 93940
(831) 582-4907
<a href="javascript:_e(%7B%7D,'cvml','greg@nwra.com');" target="_blank">greg@nwra.com</a></pre>
</div>
</blockquote></div>