<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Thank you for that comment, Vasily.</p>
<p>It turns out that indeed there is a (deeply nested) file with a
full path of 265 characters.</p>
<p>I'll modify the build to reduce the nesting depth and report back
whether this resolves the problem.</p>
<p>Regards.<br>
Greg<br>
</p>
<br>
<div class="moz-cite-prefix">On 6/26/2016 3:48 AM, Vasily wrote:<br>
</div>
<blockquote
cite="mid:CABiDpknCAvB_o4SRSWUgWKyZPHCn2yVyZ5=9-U1PMDkP7GMVyw@mail.gmail.com"
type="cite">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 moz-do-not-send="true" 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 moz-do-not-send="true" href="javascript:_e(%7B%7D,'cvml','greg@nwra.com');" target="_blank">greg@nwra.com</a></pre>
</div>
</blockquote>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Greg Bullock
NorthWest Research Associates
301 Webster St.
Monterey, CA 93940
(831) 582-4907
<a class="moz-txt-link-abbreviated" href="mailto:greg@nwra.com">greg@nwra.com</a></pre>
</body>
</html>