<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Is there a way to get detailed information when a RemoveDirectory
step fails, including the command line, stdout, and stderr (and
preferably the current directory, environment variables, etc.)?<br>
</p>
<p>One of the builders on my Windows 7 worker (slave) fails
routinely, starting with the first step, which is RemoveDirectory:</p>
<p><font face="Courier New, Courier, monospace">clean_gpsii_builddirs_gfortran64
= RemoveDirectory(<br>
name = "Clean gfortran x64 build
folder",<br>
dir =
'build/Projects/GPSII_WSBI_RefPnts_MGrids/gfortran',<br>
haltOnFailure = False,<br>
flunkOnFailure= False,<br>
description = "Clean the build directory for
the gfortran x64 configuration of GPSII",<br>
)</font><br>
<br>
Actually, the step fails only when that directory exists. The
step works fine if the directory doesn't (yet) exist, for example,
on the first "full" build.<br>
<br>
The same step works fine in another builder on a CentOS 7 worker.</p>
From the Windows 7 worker's twistd.log:<br>
<p>2016-06-23 14:26:56-0700 [Broker,client]
SlaveBuilder.remote_print(gfortran_win64_build): message from
master: ping<br>
2016-06-23 14:26:56-0700 [Broker,client] startCommand:rmdir [id
133]<br>
2016-06-23 14:26:56-0700 [-] SlaveBuilder.commandComplete
<buildslave.commands.fs.RemoveDirectory instance at
0x0000000003DB6A08><br>
2016-06-23 14:26:56-0700 [Broker,client] startCommand:shell [id
135]<br>
2016-06-23 14:26:56-0700 [Broker,client] RunProcess._startCommand<br>
2016-06-23 14:26:56-0700 [Broker,client] svn --version<br>
2016-06-23 14:26:56-0700 [Broker,client] in dir
G:\buildbot\win64-worker\gfortran_win64_build\build (timeout 1200
secs)<br>
<br>
</p>
<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>